Sendmail not relaying

Jim Holland mailscanner at mango.zw
Wed Jan 18 20:05:37 GMT 2006


Hi

On Wed, 18 Jan 2006, Lance Haig wrote:

> I have been watching the mail log and have seen this error
> 
> server1.megas.co.za [196.31.65.238] (may be forged)
> 
> This is a valid mail server on the guys site

While this won't fix the problem, it should be pointed out that you need 
to have an A record for the above hostname on your nameservers.  At the 
moment it is listed as NXDOMAIN (domain does not exist).
 
> my mailertable looks like this
> 
> domain.co.za	esmtp:[xx.xx.xx.xx]
 
The mailertable is only relevant for delivering mail to their system, and
will not affect their ability to relay outgoing mail through you.
 
> I can send e-mail to his site but he cant send mail out through my server

If the mail is coming from the above server, then you should be using the 
following entry in your access file:

	Connect:196.31.65.238	RELAY
not
	196.31.65.238		RELAY

if you are using a current version of sendmail.

If you are using SMTP AUTH then of course that should be set up correctly 
as well, as that will also affect outgoing relaying.

Regards

Jim Holland
System Administrator
MANGO - Zimbabwe's non-profit e-mail service

 
> Hope this helps
> 
> Lance
> 
> Shortt, Kevin wrote:
> > Is your mailscanner server just scrubbing the mail and passing onto another
> > host for deliver?
> > If so, then you need to use the mailertable.  What does your mailertable
> > look like?
> > 
> > -k
> > 
> >  
> > 
> >> -----Original Message-----
> >> From: mailscanner-bounces at lists.mailscanner.info 
> >> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> >> Of Lance Haig
> >> Sent: Wednesday, January 18, 2006 2:12 PM
> >> To: MailScanner discussion
> >> Subject: Sendmail not relaying
> >>
> > Guys I have hit a snag.
> > 
> > I have configured a new set of domains and have configured 
> > the mailertable relay-domains
> > 
> > I have added the domains to the access file
> > domain	RELAY
> > 
> > and the sending IP of the mailserver
> > ipaddress	RELAY
> > 
> > When I try to send a mail to a domain outside the Mailscanner 
> > machine it says relaying denied.
> > 
> > I have tried this command on the access file
> > 
> > makemap hash /etc/mail/access < /etc/mail/access
> > 
> > but is still does not want to allow the mailserver to relay e-mail.
> > 
> > What am I missing guys
> > 
> > I am using sendmail
> > 
> > Thanks
> > 
> > Lance
> - --
> MailScanner mailing list
> MailScanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >>
> Before posting, read http://wiki.mailscanner.info/posting
> >>
> Support MailScanner development - buy the book off the website!
> >>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFDzpnfM4kHBIBZ61gRAuk4AJ0dsEgLw2rLsJAy90YhJZ36p3vJZwCdFIcv
> pcUqw/GYQdJNsddxPbOvIAM=
> =qFwZ
> -----END PGP SIGNATURE-----
> 




More information about the MailScanner mailing list