OT: Sendmail weirdness
Julian Field
MailScanner at ecs.soton.ac.uk
Sat Jul 21 21:19:30 IST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris Yuzik wrote:
> Sorry for posting a sendmail question here. I've asked on a forum and
> on usenet but haven't gotten a usable response yet, and the people on
> this list tend to have "guru status" at almost everything server related.
>
> I recently discovered that our system (Centos 4.4, Sendmail, Procmail,
> etc.) is ignoring users' .forward files even though they seem to be
> correctly formatted. At first I thought it might be a permissions
> issue, as I remember reading that if the permissions on the .forward
> file, or the dir or any parent subdirs its contained in must not be
> world writeable. The permissions are fine in all cases.
>
> Further investigation points to the format of the user accounts, in
> that everyone's user account is in the format of "user at domain.tld" and
> apparently sendmail doesn't process a .forward file if there is an "@"
> in the account name.
So you have usernames in the passwd file that say "user at domain.tld"? How
very odd.
>
> The following seems to indicate that the .forward file is not even
> looked at.
>
> #sendmail -d27.2 -bv testuser at testdomain.com
> testuser at testdomain.com... deliverable: mailer local, user
> testuser\@testdomain.com
How come your sendmail is resulting in a user that is not just
"testuser"? Solve that, and everything will start to work. You must have
something odd in your config to cause that to happen. How about you post
us a few of the relevant lines from each of the text files in your
/etc/mail directory (and your /etc/aliases).
Jules
- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1
wj8DBQFGompSEfZZRxQVtlQRAuyNAJ9JZSdqeS3Y6yHlY5Fob5SDewSzFwCfS+oS
48CrbBSpBoRBPa/E0Hbj+hQ=
=4Inm
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner
mailing list