Thread: postfix problem
View Single Post
  #5  
Old 4th March 2011, 19:22
jagsler jagsler is offline
Junior Member
 
Join Date: Mar 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks adding the example.com to the /etc/hosts file solved the "Host not found" problem.

When I look at the maillog I can see a lot of things going wrong, but being very new to this I have no idea where to start solving them. Below is what I get when I try to send the testmail to sales@example.com

Code:
Mar  4 19:15:40 phunix02 sendmail[17991]: p24IFe57017991: from=user, size=248, class=0, nrcpts=1, msgid=<201103041815.p24IFe57017991@localhost.localdomain>, relay=root@localhost
Mar  4 19:15:40 phunix02 postfix/smtpd[17993]: connect from phunix02[127.0.0.1]
Mar  4 19:15:40 phunix02 sendmail[17991]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Mar  4 19:15:40 phunix02 postfix/trivial-rewrite[17995]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Mar  4 19:15:40 phunix02 postfix/trivial-rewrite[17995]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Mar  4 19:15:40 phunix02 postfix/smtpd[17993]: 235AAA00AA: client=phunix02[127.0.0.1], sasl_sender=user@localhost.localdomain
Mar  4 19:15:40 phunix02 postfix/cleanup[18000]: 235AAA00AA: message-id=<201103041815.p24IFe57017991@localhost.localdomain>
Mar  4 19:15:40 phunix02 postfix/qmgr[29905]: 235AAA00AA: from=<user@localhost.localdomain>, size=720, nrcpt=1 (queue active)
Mar  4 19:15:40 phunix02 sendmail[17991]: p24IFe57017991: to=sales@example.com, ctladdr=user (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30248, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 235AAA00AA)
Mar  4 19:15:40 phunix02 postfix/smtpd[17993]: disconnect from phunix02[127.0.0.1]
Mar  4 19:15:55 phunix02 dccproc[18031]: no working DCC servers dcc1.dcc-servers.net dcc2.dcc-servers.net dcc3.dcc-servers.net ... at 142.27.70.211 209.169.14.2
Mar  4 19:15:59 phunix02 postfix/smtpd[18037]: connect from unknown[127.0.0.1]
Mar  4 19:15:59 phunix02 postfix/trivial-rewrite[17995]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Mar  4 19:15:59 phunix02 postfix/trivial-rewrite[17995]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Mar  4 19:15:59 phunix02 postfix/smtpd[18037]: 85D60A2D4A: client=unknown[127.0.0.1]
Mar  4 19:15:59 phunix02 postfix/cleanup[18000]: 85D60A2D4A: message-id=<201103041815.p24IFe57017991@localhost.localdomain>
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 85D60A2D4A: from=<user@localhost.localdomain>, size=1181, nrcpt=1 (queue active)
Mar  4 19:15:59 phunix02 postfix/trivial-rewrite[17995]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Mar  4 19:15:59 phunix02 postfix/smtpd[18037]: disconnect from unknown[127.0.0.1]
Mar  4 19:15:59 phunix02 amavis[15079]: (15079-02) Passed CLEAN, MYNETS LOCAL [127.0.0.1] [127.0.0.1] <user@localhost.localdomain> -> <sales@localhost.localdomain>, Message-ID: <201103041815.p24IFe57017991@localhost.localdomain>, mail_id: 40gF4NNr2o66, Hits: 0.179, size: 720, queued_as: 85D60A2D4A, 19369 ms
Mar  4 19:15:59 phunix02 postfix/smtp[18001]: 235AAA00AA: to=<sales@localhost.localdomain>, relay=127.0.0.1[127.0.0.1]:10024, delay=19, delays=0.06/0/0.01/19, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=15079-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 85D60A2D4A)
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 235AAA00AA: removed
Mar  4 19:15:59 phunix02 postfix/cleanup[18000]: 8DD54A00AA: message-id=<201103041815.p24IFe57017991@localhost.localdomain>
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 8DD54A00AA: from=<user@localhost.localdomain>, size=1325, nrcpt=1 (queue active)
Mar  4 19:15:59 phunix02 postfix/local[18039]: 85D60A2D4A: to=<sales@localhost.localdomain>, relay=local, delay=0.04, delays=0.01/0.02/0/0.01, dsn=2.0.0, status=sent (forwarded as 8DD54A00AA)
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 85D60A2D4A: removed
Mar  4 19:15:59 phunix02 postfix/smtp[18040]: 8DD54A00AA: to=<jmul@2contact.com>, orig_to=<sales@localhost.localdomain>, relay=none, delay=0.02, delays=0.01/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=2contact.com type=AAAA: Host found but no data record of requested type)
Mar  4 19:15:59 phunix02 postfix/cleanup[18000]: 94A48A2D4B: message-id=<20110304181559.94A48A2D4B@phunix02.2contact.ltd>
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 94A48A2D4B: from=<>, size=3454, nrcpt=1 (queue active)
Mar  4 19:15:59 phunix02 postfix/bounce[18041]: 8DD54A00AA: sender non-delivery notification: 94A48A2D4B
Mar  4 19:15:59 phunix02 postfix/trivial-rewrite[17995]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 8DD54A00AA: removed
Mar  4 19:15:59 phunix02 postfix/local[18039]: 94A48A2D4B: to=<user@localhost.localdomain>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Mar  4 19:15:59 phunix02 postfix/qmgr[29905]: 94A48A2D4B: removed
The jmul@2contact.com is my mail account.
Reply With Quote