Problems with From line and virtual hosting (help?0



  • 1. strange .forward file / directory permission warning message in /var/adm/maillog
    [...] > Here's a stupid question. Do I even need this user account? The user mail is the 'Mailer Daemon' account. It's home is /var/spool/clientmqueue The .forward file should reside in a users home dir like (/export)/home/username and should be accessable only by that user. 1777 means 'World writable'. This is what the warning message wants to tell you. In addition: set the shell for user mail to /bin/false. It not a good idea to allow a user with his $home set to / doing a lot of very evil things.
  • 2. Apparrent access.db failure
    "Gary Mussar" <gary+ XXXX@XXXXX.COM > wrote in message news:DzHMa.4337$ XXXX@XXXXX.COM ... > Are there cases where client_name will not get set even though the address > does appear to translate (albeit not to the same name on the EHLO)? Whatever is on the EHLO likely doesn't matter. Perhaps a more correct question is: If the address "appears to be forged", is the client_name set? I suspect "appears to be forged" means that the rdns value doesn't map back to the original source address which would probably indicate the the rdns value (client_name) cannot be trusted. Gary
  • 3. Sendmail + AUTH
    Hi, I want to use AUTH in my sendmail for locally users to send e-mails using for example OE. I have sendmail with compiled sasl, but only with DIGEST-MD5 CRAM-MD5: 250-AUTH DIGEST-MD5 CRAM-MD5 How can I add LOGIN and PLAIN to these methods or change to only LOGIN and PLAIN ? In my I have now: define(`confAUTH_OPTIONS', `A')dnl TRUST_AUTH_MECH(`LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl I restarted sendmail and I have still DIGEST and CRAM. There are any mail clients which support these methods at all ? THANKS, grzybek

Problems with From line and virtual hosting (help?0

Postby Christopher Molnar » Mon, 15 Dec 2003 00:10:46 GMT

I have read the manual pages and the virtual hosting pages.

Here is the problem:

on my server I host various domains and some email only domains. All the 
users have local logins so they can use imap, etc...

Let's say that I send a message with a From line of:




the From line is getting re-written to:


(where is the domain name of the mail server).

In genericstable I have written:


In generics-domains I have:

in virtusertable I have


I need to be able to maintain the from lines and not have them re-
written. The correct from line " XXXX@XXXXX.COM " is actually 
showing up in the maillog but somehow is vanishing as the mail is 

Can anyone shed any light on the problem?


Re: Problems with From line and virtual hosting (help?0

Postby per » Mon, 15 Dec 2003 11:33:36 GMT

In article < XXXX@XXXXX.COM > Christopher
Molnar < XXXX@XXXXX.COM > writes:

Most likely cause is that you are either masquerading as, or
that you have a line in /etc/hosts like:

That's not generally useful, generics-domains should list the domains to
rewrite, not the result (of course). You could perhaps have
there, and it may even "fix" your problem above, but it would be better
to avoid the need for a fix.

--Per Hedeland

Return to mail


Who is online

Users browsing this forum: No registered users and 36 guest