Re: Forwaring mail with sendmail. Was: Which
Dennis Wynne <[email protected]> Tue, 7 Feb 2006 19:34:00 -0600
| Newsgroups | gmane.mail.spam.greylist.user |
|---|---|
| Message-ID | <[email protected]> |
Make sure you don't have your domain in the local file "local-host-names" (gtlogistics.com ?). This should be empty, if the server is just going to forward mail. Make sure you do have your domain in the mailertable file in the proper format (gtlogistics.com smtp:[mail.gtlogistics.com] Make sure you restart sendmail after the changes are made and check that the mailertable.db file is newer than the mailertable file you edited. You MAY need to add gtlogistics.com RELAY to the access table as well. Again, restart sendmail and make sure the access.db time is newer than the file time (or the same). Dennis ===== Original Message from [email protected] (Greylisting Users and Developers Discuss) at 2/07/06 7:22 pm >Followed your directions exactly, but my linux server issues a >"relaying denied" when trying to pass along the mail to my real mail >server: > >from /var/log/maillog > >Feb 7 20:16:33 tools sendmail[1100]: k181GXep001100: >ruleset=check_rcpt, arg1=<[email protected]>, >relay=some.mail.server [123.45.67.89], reject=550 5.7.1 ><[email protected]>... Relaying denied >Feb 7 20:16:33 tools sendmail[1100]: k181GXep001100: >from=<[email protected]>, size=346, class=0, nrcpts=0, proto=ESMTP, >daemon=MTA, relay=some.mail.server [123.45.67.89] > >How would I make this work without making my server an open relay? > >--Brent > >On 2/7/06, Dennis Wynne <[email protected]> wrote: >> If I can point out a couple of things (there were not obvious to me). >> >> You need to edit the sendmail.mc file (in /etc/mail/) and comment out the >> line that has: > >_______________________________________________ >Greylist-users mailing list >[email protected] >http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users