Hi,
setup @mynetworks didn't help. So I found, that I can setup @inet_acl = qw( ); which helps.
Below is part of mail.log:
Aug 18 07:36:32 mail postfix/smtpd[7808]: connect from xxxxxx.xxxxx.xx[x.x.x.x]
Aug 18 07:36:32 mail postfix/smtpd[7808]: D6AC6942C97: client=xxxxxx.xxxxx.xx[x.x.x.x], sasl_method=LOGIN, sasl_username=www@xxx.xx
Aug 18 07:36:32 mail postfix/cleanup[7812]: D6AC6942C97: message-id=<a2965ae0515fe1df83508aa15597f6d1@xxx.xx>
Aug 18 07:36:32 mail postfix/qmgr[6299]: D6AC6942C97: from=<www@xxx.xx>, size=540, nrcpt=1 (queue active)
Aug 18 07:36:32 mail roundcube: User www@xxx.xx [83.208.13.32]; Message for sombody.email@gmail.com 250: 2.0.0 Ok: queued as D6AC6942C97
Aug 18 07:36:33 mail postfix/smtpd[7808]: disconnect from xxxxxx.xxxxx.xx[x.x.x.x]
Aug 18 07:36:33 mail postfix/smtpd[7817]: connect from xxxxxx.xxxxx.xx[x.x.x.x]
Aug 18 07:36:33 mail postfix/smtpd[7817]: NOQUEUE: reject: CONNECT from xxxxxx.xxxxx.xx[x.x.x.x]: 554 5.7.1 <xxxxxx.xxxxx.xx[x.x.x.x]>: Client host rejected: Access denied; proto=SMTP
Aug 18 07:36:33 mail amavis[7411]: (07411-01) (!)FWD via SMTP: <www@xxx.xx> -> <sombody.email@gmail.com>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: 554 5.7.1 <xxxxxx.xxxxx.xx[x.x.x.x]>: Client host rejected: Access denied at (eval 113) line 596, <GEN48> line 15.): id=07411-01
Aug 18 07:36:33 mail amavis[7411]: (07411-01) Blocked MTA-BLOCKED, MYUSERS LOCAL [x.x.x.x] [x.x.x.x] <www@xxx.xx> -> <sombody.email@gmail.com>, Message-ID: <a2965ae0515fe1df83508aa15597f6d1@xxx.xx>, mail_id: jdClylQsBjor, Hits: -10, size: 540, 823 ms
Aug 18 07:36:33 mail postfix/smtpd[7817]: disconnect from xxxxxx.xxxxx.xx[x.x.x.x]
Aug 18 07:36:33 mail postfix/smtp[7813]: D6AC6942C97: to=<sombody.email@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.32/0.01/0.11/0.72, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: 554 5.7.1 <xxxxxx.xxxxx.xx[x.x.x.x]>: Client host rejected: Access denied at (eval 113) line 596, <GEN48> line 15.): id=07411-01 (in reply to end of DATA command))
But if I comment this line in main.cf:
content_filter = smtp-amavis:[127.0.0.1]:10024 to #content_filter = smtp-amavis:[127.0.0.1]:10024
I can send and recive mails, but I thing, that all is without amavis (and spamd, clamav ...).
I have another questions:
- in my 50-user.conf at @mynetworks I have this, is that right?
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );
- next question is about statistics (count of send email, received email), how it counts? Because I think, that it don't counts right and if it counts, it shows for every subject "Test"