Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relaying weirdness

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
I am using Sendmail 8.9.3. My server is setup as the secondary MX record
for a domain. When the primary server goes down, mine should catch the
mail and forward it when the primary comes up. I do this for several
domains and haven't had a problem.

I have 2 questions.

1. How long will my server queue the mail for before it sends an
undeliverable message back to the sender?

2. Some of the mail for a specific domain gets forwarded (or queued until
the connection comes back up) and for some I get the error Relaying Denied
in the log file. What would cause it to be selective about which users at
the final destination would be forwarded?

Thanks.



 
I'm not sure about the first one but I suspect it's a line in the sendmail config file. On the second, I would check to make sure that the domains in question are in your /ect/sendmail.cw file. If they aren't, the server will not know it's supposed to accept mail for the domains and will treat it as an invalid relaying attempt if relaying is restricted (as it appears to be the case). If you mean that mail for the same domain is getting rejected arbitrarily, I would verify that the rejected ones have the exact domain name as the accepted ones (i.e. user@ verses user@domain.com). If that's not the case, I would check for any references to the accounts in the virtusertable database, in the aliases file, or in your sendmail rules section (ugly). Those are the only places I can think of where you could setup special routing for select accounts.

Hope this helps,
GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top