1

Topic: Wont accept externail mail

I have iredmail installed on debian 6


I can sent mail to user's in the webmail interface but as soon as i try to sent mail to a user from an external system it doesn't get delivered to dovecot it gets delivered locally to a system user.

It looks like it isn't passing the email to dovecot for mail sent from an external server (not in the webmail interface)


From /var/log/mail.log for a email that doesn't work

 

Dec 21 18:59:38 Mail postfix/smtpd[1924]: connect from unknown[192.168.99.250]
Dec 21 18:59:38 Mail postfix-policyd: connection from: 127.0.0.1 port: 49933 slots: 0 of 4096 used
Dec 21 18:59:38 Mail postfix-policyd: rcpt=1, whitelist=bypass, host=192.168.99.250 (unknown), from=root@remote_system, to=www@local_system, size=447
Dec 21 18:59:38 Mail postfix/smtpd[1924]: 8F0482C669: client=unknown[192.168.99.250]
Dec 21 18:59:38 Mail postfix/cleanup[1927]: 8F0482C669: message-id=<20111222025939.A9C144A0FC3@remote_system>
Dec 21 18:59:38 Mail postfix/qmgr[1867]: 8F0482C669: from=<root@remote_system>, size=718, nrcpt=1 (queue active)
Dec 21 18:59:38 Mail postfix/smtpd[1924]: disconnect from unknown[192.168.99.250]
Dec 21 18:59:47 Mail postfix/smtpd[1938]: connect from localhost[127.0.0.1]
Dec 21 18:59:47 Mail postfix/smtpd[1938]: 3CB382C676: client=localhost[127.0.0.1]
Dec 21 18:59:47 Mail postfix/cleanup[1927]: 3CB382C676: message-id=<20111222025939.A9C144A0FC3@remote_system>
Dec 21 18:59:47 Mail postfix/qmgr[1867]: 3CB382C676: from=<root@remote_system>, size=1188, nrcpt=1 (queue active)
Dec 21 18:59:47 Mail postfix/smtpd[1938]: disconnect from localhost[127.0.0.1]
Dec 21 18:59:47 Mail amavis[1578]: (01578-01) Passed CLEAN, MYNETS LOCAL [192.168.99.250] [192.168.99.250] <root@remote_system> -> <www@local_system>, Message-ID: <20111222025939.A9C144A0FC3@remote_system>, mail_id: Ew3G1EFjctEd, Hits: -10, size: 718, queued_as: 3CB382C676, 8643 ms
Dec 21 18:59:47 Mail postfix/smtp[1928]: 8F0482C669: to=<www@local_system>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.1, delays=0.29/0.04/0.03/8.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01578-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3CB382C676)
Dec 21 18:59:47 Mail postfix/qmgr[1867]: 8F0482C669: removed
Dec 21 18:59:47 Mail postfix/local[1887]: 3CB382C676: to=<local_user@local_system>, relay=local, delay=0.23, delays=0.02/0/0/0.21, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver)
Dec 21 18:59:47 Mail postfix/qmgr[1867]: 3CB382C676: removed


This is from /var/log/mail.log for a email message sent in the webmail interface that works

Dec 21 19:56:42 Mail postfix/smtpd[2331]: connect from localhost[127.0.0.1]
Dec 21 19:56:43 Mail postfix/smtpd[2331]: 01D5C2C669: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=test@local_system
Dec 21 19:56:43 Mail postfix/cleanup[2335]: 01D5C2C669: message-id=<96b6dacf8cb809de990893cb8fd54913@starcalif.com>
Dec 21 19:56:43 Mail roundcube: User test@starcalif.com [192.168.99.250]; Message for www@local_system; 250: 2.0.0 Ok: queued as 01D5C2C669
Dec 21 19:56:43 Mail postfix/qmgr[1867]: 01D5C2C669: from=<test@local_system>, size=530, nrcpt=1 (queue active)
Dec 21 19:56:43 Mail postfix/smtpd[2331]: disconnect from localhost[127.0.0.1]
Dec 21 19:56:46 Mail postfix/smtpd[2350]: connect from localhost[127.0.0.1]
Dec 21 19:56:46 Mail postfix/smtpd[2350]: A805E2C67C: client=localhost[127.0.0.1]
Dec 21 19:56:46 Mail postfix/cleanup[2335]: A805E2C67C: message-id=<96b6dacf8cb809de990893cb8fd54913@starcalif.com>
Dec 21 19:56:46 Mail postfix/qmgr[1867]: A805E2C67C: from=<test@local_system>, size=1471, nrcpt=1 (queue active)
Dec 21 19:56:46 Mail postfix/smtpd[2350]: disconnect from localhost[127.0.0.1]
Dec 21 19:56:46 Mail amavis[1578]: (01578-02) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <test@local_system> -> <www@local_system>, Message-ID: <96b6dacf8cb809de990893cb8fd54913@starcalif.com>, mail_id: xsKKZ6ulbgX2, Hits: -8.451, size: 530, queued_as: A805E2C67C, 3633 ms
Dec 21 19:56:46 Mail postfix/smtp[2336]: 01D5C2C669: to=<www@local_system>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.7, delays=0.06/0.02/0.01/3.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01578-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A805E2C67C)
Dec 21 19:56:46 Mail postfix/qmgr[1867]: 01D5C2C669: removed
Dec 21 19:56:46 Mail postfix/pipe[2351]: A805E2C67C: to=<www@local_system>, relay=dovecot, delay=0.15, delays=0.01/0.04/0/0.1, dsn=2.0.0, status=sent (delivered via dovecot service)
Dec 21 19:56:46 Mail postfix/qmgr[1867]: A805E2C67C: removed

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.