View Single Post
  #18  
Old 19th January 2010, 12:25
aurasdoom aurasdoom is offline
Junior Member
 
Join Date: Jan 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I reran php -q update.php to remake the configuration files and smtpd authentication now works which it didn't before.

But receiving emails still doesn't work. The same problem: unknown user "xxxxxx"

I'm posting these again, maybe someone knows what's wrong with postfix:

Quote:
Jan 19 14:46:41 wip postfix/smtpd[1990]: connect from mail-fx0-f215.google.com[209.85.220.215]
Jan 19 14:46:41 wip postfix/trivial-rewrite[26080]: warning: do not list domain wip.ro in BOTH mydestination and virtual_mailbox_domains
Jan 19 14:46:41 wip postfix/smtpd[1990]: 9FC721BCD14D: client=mail-fx0-f215.google.com[209.85.220.215]
Jan 19 14:46:41 wip postfix/cleanup[26090]: 9FC721BCD14D: message-id=<7BCDA7B4-1453-41BD-A698-47E81FCA58B1@gmail.com>
Jan 19 14:46:41 wip postfix/qmgr[13386]: 9FC721BCD14D: from=<aurasd@gmail.com>, size=2011, nrcpt=1 (queue active)
Jan 19 14:46:41 wip amavis[16195]: (16195-05) (!!)WARN: all primary virus scanners failed, considering backups
Jan 19 11:46:49 wip postfix/smtpd[26151]: connect from unknown[127.0.0.1]
Jan 19 14:46:49 wip postfix/trivial-rewrite[26080]: warning: do not list domain wip.ro in BOTH mydestination and virtual_mailbox_domains
Jan 19 11:46:49 wip postfix/smtpd[26151]: 5C3BA1BCD151: client=mail-fx0-f215.google.com[209.85.220.215]
Jan 19 14:46:49 wip postfix/cleanup[26090]: 5C3BA1BCD151: message-id=<7BCDA7B4-1453-41BD-A698-47E81FCA58B1@gmail.com>
Jan 19 14:46:49 wip postfix/qmgr[13386]: 5C3BA1BCD151: from=<aurasd@gmail.com>, size=2401, nrcpt=1 (queue active)
Jan 19 11:46:49 wip postfix/smtpd[26151]: disconnect from unknown[127.0.0.1]
Jan 19 14:46:49 wip postfix/trivial-rewrite[26080]: warning: do not list domain wip.ro in BOTH mydestination and virtual_mailbox_domains
Jan 19 14:46:49 wip amavis[16195]: (16195-05) Passed CLEAN, [209.85.220.215] [79.118.174.214] <aurasd@gmail.com> -> <auras@wip.ro>, Message-ID: <7BCDA7B4-1453-41BD-A698-47E81FCA58B1@gmail.com>, mail_id: yZzgMR-hrW4W, Hits: 4.833, size: 2011, queued_as: 5C3BA1BCD151, dkim_id=@gmail.com,aurasd@gmail.com, 7727 ms
Jan 19 11:46:49 wip postfix/smtp[26096]: 9FC721BCD14D: to=<auras@wip.ro>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.8, delays=0.1/0/0/7.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=16195-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5C3BA1BCD151)
Jan 19 14:46:49 wip postfix/qmgr[13386]: 9FC721BCD14D: removed
Jan 19 14:46:49 wip postfix/local[26153]: 5C3BA1BCD151: to=<auras@wip.ro>, relay=local, delay=0.08, delays=0.07/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "auras")
It's checking wrong. It should check for auras @ wip.ro.

Quote:
SELECT domain FROM mail_domain WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_transport WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_transport WHERE domain='com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='aurasd@gmail.com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_domain WHERE domain='wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='auras@wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='.ro' and active = 'y' and server_id = 1
SELECT access FROM mail_access WHERE source='mail-fx0-f215.google.com' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='google.com' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='com' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='209.85.220.215' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='209.85.220' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='209.85' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='209' and type = 'client' and active = 'y'
SELECT access FROM mail_access WHERE source='aurasd@gmail.com' and type = 'sender' and active = 'y' and server_id = 1
SELECT access FROM mail_access WHERE source='gmail.com' and type = 'sender' and active = 'y' and server_id = 1
SELECT access FROM mail_access WHERE source='com' and type = 'sender' and active = 'y' and server_id = 1
SELECT access FROM mail_access WHERE source='aurasd@' and type = 'sender' and active = 'y' and server_id = 1
SELECT access FROM mail_access WHERE source='auras@wip.ro' and type = 'recipient' and active = 'y' and server_id = 1
SELECT access FROM mail_access WHERE source='wip.ro' and type = 'recipient' and active = 'y' and server_id = 1
SELECT destination FROM mail_forwarding WHERE source='auras@wip.ro' and active = 'y' and server_id = 1
SELECT email FROM mail_user WHERE email='auras@wip.ro' and postfix = 'y' and server_id = 1
SELECT domain FROM mail_domain WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_transport WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_transport WHERE domain='com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='aurasd@gmail.com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_domain WHERE domain='wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='auras@wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='.ro' and active = 'y' and server_id = 1
SELECT destination FROM mail_forwarding WHERE source='auras@wip.ro' and active = 'y' and server_id = 1
SELECT email FROM mail_user WHERE email='auras@wip.ro' and postfix = 'y' and server_id = 1
SELECT domain FROM mail_domain WHERE domain='wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='auras@wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='wip.ro' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='.ro' and active = 'y' and server_id = 1
SELECT destination FROM mail_forwarding WHERE source='aurasd@gmail.com' and active = 'y' and server_id = 1
SELECT email FROM mail_user WHERE email='aurasd@gmail.com' and postfix = 'y' and server_id = 1
SELECT destination FROM mail_forwarding WHERE source='@gmail.com' and active = 'y' and server_id = 1
SELECT email FROM mail_user WHERE email='@gmail.com' and postfix = 'y' and server_id = 1
SELECT domain FROM mail_domain WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_transport WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT domain FROM mail_transport WHERE domain='com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='aurasd@gmail.com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='gmail.com' and active = 'y' and server_id = 1
SELECT transport FROM mail_transport WHERE domain='.com' and active = 'y' and server_id = 1
Quote:
# authtest -s smtp auras@wip.ro
Authentication succeeded.

Authenticated: auras@wip.ro (uid 5000, gid 5000)
Home Directory: /var/vmail
Maildir: /var/vmail/wip.ro/auras
Quota: 0
Encrypted Password: $1$NRkCEp@A$0EQbEfeZVGE8xFZqgc2XB1
Cleartext Password: (none)
Options: disableimap=0,disablepop3=0
Someone with centos 5.4 can please post their postfix/sasl configuration?


Aaaand yes, I found the solution:
Jan 19 14:46:41 wip postfix/trivial-rewrite[26080]: warning: do not list domain wip.ro in BOTH mydestination and virtual_mailbox_domains

Thanks all, and sorry for the fuss

Last edited by aurasdoom; 19th January 2010 at 12:59.
Reply With Quote