Sorry for miss information !
Yes, mail clients perform SMTP authentication before sending email !
Got more debug info:
today I did this:
#1 - access to webmail and login with <user1@mydomain.com>
#2 - sent an hello world email to <user2@otherdomain.com>
#3 - and kept my webmail session open !
heres the output:
------------------------------------------------------------------------------------------------------------------------------------------------
Dec 11 15:45:04 server postfix/smtpd[19974]: 9007640058: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=user1@mydomain.com
Dec 11 15:45:04 server postfix/cleanup[19979]: 9007640058: message-id=<56e36a627ecddcc599fc8f68f88bc0a1@softinsa.pt>
Dec 11 15:45:04 server postfix/qmgr[1469]: 9007640058: from=<user1@mydomain.com>, size=535, nrcpt=1 (queue active)
Dec 11 15:45:04 server roundcube: User user1@mydomain.com [172.31.20.44]; Message for user2@otherdomain.com; 250: 2.0.0 Ok: queued as 9007640058
Dec 11 15:45:04 server postfix/smtpd[19974]: disconnect from localhost[127.0.0.1]
Dec 11 15:45:05 server postfix/smtpd[19990]: connect from localhost[127.0.0.1]
Dec 11 15:45:05 server postfix/smtpd[19990]: 6BF5F40089: client=localhost[127.0.0.1]
Dec 11 15:45:05 server postfix/cleanup[19979]: 6BF5F40089: message-id=<56e36a627ecddcc599fc8f68f88bc0a1@mydomain.com>
Dec 11 15:45:05 server postfix/qmgr[1469]: 6BF5F40089: from=<user1@mydomain.com>, size=1479, nrcpt=1 (queue active)
Dec 11 15:45:05 server postfix/smtpd[19990]: disconnect from localhost[127.0.0.1]
Dec 11 15:45:05 server amavis[17959]: (17959-07) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <user1@mydomain.com> -> <user2@otherdomain.com>, Message-ID: <56e36a627ecddcc599fc8f68f88bc0a1@mydomain.com>, mail_id: YQte8Zfw98oy, Hits: -10, size: 535, queued_as: 6BF5F40089, 791 ms
Dec 11 15:45:05 server postfix/smtp[19983]: 9007640058: to=<user2@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.98, delays=0.15/0.02/0.01/0.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 6BF5F40089)
Dec 11 15:45:05 server postfix/qmgr[1469]: 9007640058: removed
Dec 11 15:45:05 server postfix/smtp[19992]: 6BF5F40089: to=<user2@otherdomain.com>, relay=mx1.tap.pt[91.198.90.27]:25, delay=0.36, delays=0.02/0.02/0.22/0.1, dsn=2.0.0, status=sent (250 Ok: queued as BD5641C2E2)
------------------------------------------------------------------------------------------------------------------------------------------------
Using web mail ... it looks good ! Works (no rejections) ...
But still i'm getting more than 20 rejected emails today !
------------------------------------------------------------------------------------------------------------------------------------------------
Dec 11 11:34:35 server postfix/smtpd[15753]: warning: 62.169.67.134: address not listed for hostname 62-169-67-134.rev.optimus.pt
Dec 11 11:34:35 server postfix/smtpd[15753]: connect from unknown[62.169.67.134]
Dec 11 11:34:36 server postfix/smtpd[15753]: NOQUEUE: reject: RCPT from unknown[62.169.67.134]: 554 5.7.1 <unknown[62.169.67.134]>: Client host rejected: Access denied; from=<user1@mydomain.com> to=<user2@otherdomain.com> proto=ESMTP helo=<10.50.45.121>
Dec 11 11:44:36 server postfix/smtpd[15753]: timeout after RCPT from unknown[62.169.67.134]
Dec 11 11:44:36 server postfix/smtpd[15753]: disconnect from unknown[62.169.67.134]
------------------------------------------------------------------------------------------------------------------------------------------------
# - i'm a bit suspicious about this:
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch , permit_sasl_authenticated
#- Why the persistence of sending over and over this email without the sender action on the email client ?
Is this a default persistence action on postfix for email delivery ?
Still any ideas ?
Thanks.