 |
|
 |
|
Next: how may I set up a mail server receiving all emai..
|
| Author |
Message |
External

Since: Jul 20, 2003 Posts: 4
|
(Msg. 1) Posted: Sun Jul 20, 2003 6:56 pm
Post subject: secondary mailserver Archived from groups: comp>unix>bsd>freebsd>misc (more info?)
|
|
|
Greeting,
I've looked throught the handbook for this but cannot find the answer.
I have two FreeBSD 4.8 machines where 1 is the mailserver for some-domain
and the some-domain is in the sendmail.cw file. DNS MX records for some-domain
is setup like so:
IN MX 5 FreeBSD.machine.one
IN MX 10 FreeBSD.machine.two
some-domain is not in FreeBSD.machine.two sendmail.cw as I want it to
be a backup mail server for machine one and to spool up email for machine
one until it comes back up.
Right now for some-domain, I'm getting "Relaying denied" in machine two.
What do I need to do on machine two to get it to act as a secondary mailserver
for some-domain?
thanks for your help
--
John J. Rushford
j j r { a t } a l i s a { d o t } o r g
http://www.cs.du.edu/~jjr >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 1
|
(Msg. 2) Posted: Sun Jul 20, 2003 7:38 pm
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 20 Jul 2003 18:56:59 GMT,
read-the-signature.DeleteThis@send-spam-to-dev-null.com wrote:
>Right now for some-domain, I'm getting "Relaying denied" in machine two.
>What do I need to do on machine two to get it to act as a secondary mailserver
>for some-domain?
You need to configure sendmail on machine 2 to accept/relay mail for
some-domain. Otherwise, sendmail will treat it as some third-party
attempt to use your mail server as an SMTP relay. >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 1
|
(Msg. 3) Posted: Sun Jul 20, 2003 10:04 pm
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
William Clardy writes:
>On Sun, 20 Jul 2003 18:56:59 GMT,
>read-the-signature@send-spam-to-dev-null.com wrote:
>>Right now for some-domain, I'm getting "Relaying denied" in machine two.
>>What do I need to do on machine two to get it to act as a secondary mailserver
>>for some-domain?
>You need to configure sendmail on machine 2 to accept/relay mail for
>some-domain. Otherwise, sendmail will treat it as some third-party
>attempt to use your mail server as an SMTP relay.
With sendmail, you can do this using the /etc/mail/relay-domains file.
David. >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 4
|
(Msg. 4) Posted: Sun Jul 20, 2003 10:04 pm
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
David Malone wrote:
> William Clardy writes:
>
>>On Sun, 20 Jul 2003 18:56:59 GMT,
>>read-the-signature@send-spam-to-dev-null.com wrote:
>
>>>Right now for some-domain, I'm getting "Relaying denied" in machine two.
>>>What do I need to do on machine two to get it to act as a secondary mailserver
>>>for some-domain?
>
>>You need to configure sendmail on machine 2 to accept/relay mail for
>>some-domain. Otherwise, sendmail will treat it as some third-party
>>attempt to use your mail server as an SMTP relay.
>
> With sendmail, you can do this using the /etc/mail/relay-domains file.
>
> David.
Ok, I'll give this a shot. I thought that relay-domains was just a list
of clients that could use sendmail on the host as their smtp server for
sending email without using authentication. I'll give this a shot though.
thanks
--
John J. Rushford
j j r { a t } a l i s a { d o t } o r g
http://www.cs.du.edu/~jjr >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 4
|
(Msg. 5) Posted: Mon Jul 21, 2003 3:56 am
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
David Malone wrote:
> William Clardy writes:
>
>>On Sun, 20 Jul 2003 18:56:59 GMT,
>>read-the-signature@send-spam-to-dev-null.com wrote:
>
>>>Right now for some-domain, I'm getting "Relaying denied" in machine two.
>>>What do I need to do on machine two to get it to act as a secondary mailserver
>>>for some-domain?
>
>>You need to configure sendmail on machine 2 to accept/relay mail for
>>some-domain. Otherwise, sendmail will treat it as some third-party
>>attempt to use your mail server as an SMTP relay.
>
> With sendmail, you can do this using the /etc/mail/relay-domains file.
>
> David.
David, that did the trick. Thanks
--
John J. Rushford
j j r { a t } a l i s a { d o t } o r g
http://www.cs.du.edu/~jjr >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 21, 2003 Posts: 1
|
(Msg. 6) Posted: Mon Jul 21, 2003 8:58 am
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Relaying denied means that you havn't told your mail servers what networks
they can accept mail from, what hosts they can accept mail from, you want
to use authentication but don't have a client that supports SMTP auth, or
what hosts the mail is destined for.
On Sun, 20 Jul 2003 18:56:59 GMT, <read-the-signature@send-spam-to-dev-
null.com> wrote:
> Greeting,
>
> I've looked throught the handbook for this but cannot find the answer.
> I have two FreeBSD 4.8 machines where 1 is the mailserver for some-domain
> and the some-domain is in the sendmail.cw file. DNS MX records for some-
> domain
> is setup like so:
>
> IN MX 5 FreeBSD.machine.one IN MX 10 FreeBSD.machine.two
>
> some-domain is not in FreeBSD.machine.two sendmail.cw as I want it to
> be a backup mail server for machine one and to spool up email for machine
> one until it comes back up.
>
> Right now for some-domain, I'm getting "Relaying denied" in machine two.
> What do I need to do on machine two to get it to act as a secondary
> mailserver
> for some-domain?
>
> thanks for your help
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 20, 2003 Posts: 4
|
(Msg. 7) Posted: Mon Jul 21, 2003 8:58 am
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Jaleco wrote:
> Relaying denied means that you havn't told your mail servers what networks
> they can accept mail from, what hosts they can accept mail from, you want
> to use authentication but don't have a client that supports SMTP auth, or
> what hosts the mail is destined for.
>
I understand that. The primary mail server is not getting "Relaying denied"
and it accepts email for domains that I have listed in sendmail.cw and the
server has smtp auth for roaming email clients using it for smtp.
The problem is that I'm getting "Relaying Denied" on the secondary mailserver.
from clients sending email to user@somedomain where user@somedomain's mailbox
is on the primary mailserver. How do I get the secondary mailserver to
forward to the primary or queue email in /var/spool/mqueue for delivery to the
primary mail server when it is ready to receive email?
--
John J. Rushford
j j r { a t } a l i s a { d o t } o r g
http://www.cs.du.edu/~jjr >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
External

Since: Jul 21, 2003 Posts: 1
|
(Msg. 8) Posted: Mon Jul 21, 2003 8:58 am
Post subject: Re: secondary mailserver [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article
read-the-signature.DeleteThis@send-spam-to-dev-null.com writes:
>Jaleco wrote:
>> Relaying denied means that you havn't told your mail servers what networks
>> they can accept mail from, what hosts they can accept mail from, you want
>> to use authentication but don't have a client that supports SMTP auth, or
>> what hosts the mail is destined for.
>>
>
>I understand that. The primary mail server is not getting "Relaying denied"
>and it accepts email for domains that I have listed in sendmail.cw and the
>server has smtp auth for roaming email clients using it for smtp.
>
>The problem is that I'm getting "Relaying Denied" on the secondary mailserver.
There are possible isues with doing so (as commented on in the
default sendmail.mc file), but I believe all that I changed when I
set that up was uncommenting:
FEATURE(relay_based_on_MX)
I can't confirm that now, as I don't have a secondary mail server
running anymore.
--
|Drew Lawson | Mrs. Tweedy! |
|drew@furrfu.com | The chickens are revolting! |
|http://www.furrfu.com/ | | >> Stay informed about: secondary mailserver |
|
| Back to top |
|
 |  |
| Related Topics: | FreeBSD MailServer - Hi, I have recently started working at an ISP who is running a Windows based mailserver. The admin of the mailserver is rather sticky about changing but clients and staff are constantly having problems connecting to it, it crashes etc. I have recently....
securing mailserver address - Hello Guys; Good Day can anyone help give me documentations about on how to filter/stop & secure, on using my own email address as spam. From: user@my.domain.com Subject: RE: Hello To: user1@my.domain.com I'm using imap n sendmail, Thanks on advan...
Help setting up a virtual mailserver - Hi I'm rather new to this, and can't seem to get it right. I got vpopmail setup so that I can serve virtual domains, and this works very well. The problem I have is that I have a multidrop pop3 account with my upstream service provider, which will..
Jailed mailserver. Overkill? - Hi - I'm currently in the process of installing a MTA (either exim or postfix) on my new server. The MTA will handle my family's mail and a handful mailing lists, thus no big deal. During the last decade I received my mail via UUCP from my ISP and my...
Setting up mailserver for windows clients - Hi I am configuring my first proper mailserver for a small group (10-15) of people. Nearly all of these users will be using M$ outlook to read their email via imaps (I am trying out dovecot) and send email via smtps. Now, how does a windows user who.... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|