spokz |
11-14-2008 12:26 PM |
So webmail works.
But I want to connect to my IMAP server from any location thru mail clients like OE/Thunderbird and send mails. From what I see in logs, Client connects to the server but while trying to send mail, server denies it with the message displayed in first post in this thread.
And now, how to fix my server configuration to able external mail clients to send mails? :)
UPDATE.
Actually, now I can send mail thru OE but only to local maildirs (located at same server as postfix is run).
For example my mail is spokz@mydomain.org and I'm connected to IMAP mydomain.org server thru Outlook Express. I can send mail to test@mydomain.org but server denies to send mail to test@gmail.com.
Log output:
Quote:
Nov 14 19:43:55 spokz postfix/smtpd[25508]: connect from other.domain.org[12.23.34.45]
Nov 14 19:43:55 me postfix/smtpd[25508]: NOQUEUE: reject: RCPT from other.domain.org[12.23.34.45]: 554 5.7.1 <xxx@gmail.com>: Relay access denied; from=<xxx@mydomain.org> to=<xxx@gmail.com> proto=ESMTP helo=<xxxik>Nov 14 19:43:55 me postfix/smtpd[25508]: B317356C8: client=other.domain.org[12.23.34.45]
Nov 14 19:43:55 me postfix/cleanup[25511]: B317356C8: message-id=<24C04CFDF5074D249B3E9DF730284CD9@xxxik>
Nov 14 19:43:55 me postfix/qmgr[25370]: B317356C8: from=<xxx@mydomain.org>, size=1295, nrcpt=1 (queue active)
Nov 14 19:43:55 me postfix/smtpd[25508]: disconnect from other.domain.org[12.23.34.45]
Nov 14 19:43:56 me amavis[23320]: (23320-03) (!!) ask_av (ClamAV-clamd) FAILED - unexpected result: /var/lib/amavis/tmp/amavis-20081114T135814-23320/parts: lstat() failed. ERROR\n
Nov 14 19:43:56 me amavis[23320]: (23320-03) (!!) WARN: all primary virus scanners failed, considering backups
Nov 14 19:43:58 me imapd: Connection, ip=[::ffff:12.23.34.45]
Nov 14 19:43:58 me authdaemond: received auth request, service=imap, authtype=login
Nov 14 19:43:58 me authdaemond: authmysql: trying this module
Nov 14 19:43:58 me authdaemond: SQL query: SELECT username, "", password, '5000', '5000', '/home/vmail', maildir, concat(quota,'S'), name, "" FROM mailbox WHERE username = "xxx@mydomain.org"
Nov 14 19:43:58 me authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=xxx@mydomain.org, fullname=xxx yyy, maildir=mydomain.org/xxx@mydomain.org/, quota=0S, options=<null>
Nov 14 19:43:58 me authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=xxx@mydomain.org, fullnamee=xxx yyy, maildir=mydomain.org/xxx@mydomain.org/, quota=0S, options=<null>
Nov 14 19:43:58 me imapd: LOGIN, user=xxx@mydomain.org, ip=[::ffff:12.23.34.45], protocol=IMAP
Nov 14 19:44:18 me postfix/smtpd[25539]: connect from localhost[127.0.0.1]
Nov 14 19:44:18 me postfix/smtpd[25539]: A4BEA587E: client=localhost[127.0.0.1]
Nov 14 19:44:18 me postfix/cleanup[25511]: A4BEA587E: message-id=<24C04CFDF5074D249B3E9DF730284CD9@xxxik>
Nov 14 19:44:18 me postfix/qmgr[25370]: A4BEA587E: from=<xxx@mydomain.org>, size=1964, nrcpt=1 (queue active)
Nov 14 19:44:18 me postfix/smtpd[25539]: disconnect from localhost[127.0.0.1]
Nov 14 19:44:18 me amavis[23320]: (23320-03) Passed CLEAN, [12.23.34.45] [12.23.34.45] <xxx@mydomain.org> -> <xxx@mydomain.org>, Message-ID: <24C04CFDF5074D249B3E9DF730284CD9@xxxik>, mail_id: 6+8H2vK0NiiF, Hits: 5.59, queued_as: A4BEA587E, 22948 ms
Nov 14 19:44:18 me postfix/smtp[25512]: B317356C8: to=<xxx@mydomain.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=23, delays=0.14/0.04/0.01/23, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=23320-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A4BEA587E)
Nov 14 19:44:18 me postfix/qmgr[25370]: B317356C8: removed
Nov 14 19:44:18 me postfix/virtual[25540]: A4BEA587E: to=<xxx@mydomain.org>, relay=virtual, delay=0.21, delays=0.08/0.06/0/0.06, dsn=2.0.0, status=sent (delivered to maildir)
Nov 14 19:44:18 me postfix/qmgr[25370]: A4BEA587E: removed
Nov 14 19:45:12 me imapd: LOGOUT, user=xxx@mydomain.org, ip=[::ffff:12.23.34.45], headers=38, body=2008, rcvd=621, sent=3547, time=74
|
|