Mailinglist Archive: opensuse (4343 mails)
| < Previous | Next > |
Re: [SLE] sendmail rewriting From: headers
- From: James Ogley <james@xxxxxxxxxxxxxxxxx>
- Date: 25 Nov 2002 16:29:04 +0000
- Message-id: <1038241743.20248.36.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Nope, the genericstable file is for rewriting mail from local users
> logged onto the mail server.
Well, I solved this little issue by zeroing the FROM_HEADER and
SENDMAIL_SMARTHOST entries in the /etc/sysconfig files, running
SuSEconfig, and then removing the FQDN of my mail server from the DM
line in /etc/sendmail.cf
It seems that with nothing listed to masquerade in sendmail.cf, sendmail
identifies itself as something valid (I tried sendmail a mail to
somewhere I know rejects if the sending hostname is invalid and it
works) presumably one of the domains that sendmail accepts mail for.
However, I've then had to bypass my DSL provider's SMTP server as
otherwise it would effectively be acting as an open relay (and it's
not). This isn't a problem though, since I'm not on a metred
connection, it doesn't matter if it takes a few milliseconds longer to
deliver mails.
James
--
James Ogley, Webmaster, Rubber Turnip james@xxxxxxxxxxxxxxxxxxx
http://www.rubberturnip.org.uk Jabber: riggwelter@xxxxxxxxxxxx
Using Free Software since 1994, running GNU/Linux (SuSE 8.1).
GNOME updates for SuSE: http://www.usr-local-bin.org
> logged onto the mail server.
Well, I solved this little issue by zeroing the FROM_HEADER and
SENDMAIL_SMARTHOST entries in the /etc/sysconfig files, running
SuSEconfig, and then removing the FQDN of my mail server from the DM
line in /etc/sendmail.cf
It seems that with nothing listed to masquerade in sendmail.cf, sendmail
identifies itself as something valid (I tried sendmail a mail to
somewhere I know rejects if the sending hostname is invalid and it
works) presumably one of the domains that sendmail accepts mail for.
However, I've then had to bypass my DSL provider's SMTP server as
otherwise it would effectively be acting as an open relay (and it's
not). This isn't a problem though, since I'm not on a metred
connection, it doesn't matter if it takes a few milliseconds longer to
deliver mails.
James
--
James Ogley, Webmaster, Rubber Turnip james@xxxxxxxxxxxxxxxxxxx
http://www.rubberturnip.org.uk Jabber: riggwelter@xxxxxxxxxxxx
Using Free Software since 1994, running GNU/Linux (SuSE 8.1).
GNOME updates for SuSE: http://www.usr-local-bin.org
| < Previous | Next > |