[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Vinstall FormMail.cgi causing error



On Wed, Feb 16, 2005 at 01:35:47PM -0500, Mike Skimin wrote:
> 
> The error in my /var/log/maillog file is :
> 
> Feb 16 11:31:00 servername sendmail[84718]: j1GGV0kw084718: 
> from=username, size=855, class=0, nrcpts=1, 
> msgid=<200502161631.j1GGV0kw084718@xxxxxxxxxxxxxxxx>, 
> relay=username@localhost
> Feb 16 11:31:00 servername sendmail[84718]: j1GGV0kw084718: 
> to=webmaster@xxxxxxxxxxxxxxxx, ctladdr=username (1020/1021), 
> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30855, 
> relay=localhost.. [127.0.0.1], dsn=5.6.0, stat=Data format error


There might be a catchall on your `hostname` in the virtusertable; you
can either remove it (I don't recommend that), or you can add an entry
in /etc/mail/genericstable for 'username' (as in the above line in
maillog):

    username    username@xxxxxxxxxxxxxx

Then make sure that 'username@xxxxxxxxxxxxxx' has a valid
virtusertable entry. The genericstable rewrites unqualified usernames
into real email recipient addresses. The sendmail submission daemon
is getting a rejection from the MTA because 'username' becomes (by
default) 'username@xxxxxxxxxxxx' (where hostname.tld is your server's
hostname); this address must be able to accept mail (i.e., have a
virtusertable entry), otherwise it is rejected.

Hth,

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: