good evening,
i have a fresh installed debian jessie with the latest ispconfig 3.1b1.
Everything worked fine with postfix and amavis. Then i set up a second postfix instance with through this tutorials:
In the main postfix /etc/postfix/main.cf i changed
to
and also added
for the second postfix instance (/etc/postfix-second/main.cf) i changed:
and added:
my /etc/hosts:
telnet localhost 10024
but if i receive or send:
THE RESULT IS:
After Reading
i changed /etc/amavis/conf.d/50-user :
Above mentioned 'Denied Access' Message from Amavis disappeard now but THE NEW RESULT IS:
I dont know what else to do. Trying to sort this out for 2 days now. Still not working.
I really need the multiple postfix instances for sending emails from specific IP's.
I would also accept to deactive Amavis but i tried to Stop the service and comment the lines
in the main.cf . But it doesnt help.
Thanks for every Answer !
Jan
i have a fresh installed debian jessie with the latest ispconfig 3.1b1.
Everything worked fine with postfix and amavis. Then i set up a second postfix instance with through this tutorials:
Code:
http://linuxpoison.blogspot.de/2008/02/howto-make-two-instance-of-postfix.html
https://lists.debian.org/debian-user-german/2012/09/msg00244.html
In the main postfix /etc/postfix/main.cf i changed
Code:
inet_interfaces = all
Code:
inet_interface = 127.0.0.1
Code:
alternate_config_directories = /etc/postfix-second
for the second postfix instance (/etc/postfix-second/main.cf) i changed:
Code:
myhostname = mail.MyRealDomainHere.net
inet_interfaces = xx.xxx.31.124
and added:
Code:
queue_directory = /var/spool/postfix-second
data_directory = /var/lib/postfix-second
smtp_bind_address = xx.xxx.31.124
syslog_name = postfix-second
my /etc/hosts:
Code:
127.0.0.1 localhost.localdomain localhost
xx.xxx.31.124 mail.myRealDomainHere.net mail
telnet localhost 10024
Code:
Trying ::1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 [::1] ESMTP amavisd-new service ready
but if i receive or send:
THE RESULT IS:
Code:
May 23 22:55:59 delta amavis[30519]: (!)DENIED ACCESS from IP xx.xxx.31.124, policy bank ''
May 23 22:55:59 delta postfix-second/smtp[29618]: 26CBB5E1DC8: to=<info@myRealDomainHere.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.27, delays=0.27/0/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
After Reading
Code:
https://groups.google.com/forum/#!topic/mailing.unix.amavis-user/TJ8PZ4o9G6I
and
http://www.iredmail.org/forum/topic2377-iredmail-support-using-specific-ip-for-outgoing-mail.html
i changed /etc/amavis/conf.d/50-user :
Code:
@inet_acl = qw( 127.0.0.1 xx.xxx.31.124 [::1] );
$inet_socket_bind = undef;
Above mentioned 'Denied Access' Message from Amavis disappeard now but THE NEW RESULT IS:
Code:
May 23 23:54:43 delta amavis[76556]: (76556-01) (!)1mvlLgLxs8Dj FWD from <mySender@gmail.com> -> <info@myRealDomainHere.net>, 451 4.5.0 From MTA() during fwd-connect (All attempts (1) failed connecting to smtp:*:*): id=76556-01
May 23 23:54:43 delta amavis[76556]: (76556-01) Blocked MTA-BLOCKED {TempFailedOpenRelay}, [209.85.214.46]:38051 [209.85.214.46] <mySender@gmail.com> -> <info@myRealDomainHere.net>, Queue-ID: 93D2F5E1DD2, Message-ID: <CAD5TPY-7Y7SNiYmhnr2_LvB27i54kc7X7GVheoXAJGforbUiaA@mail.gmail.com>, mail_id: 1nvlLgLxs8Dj, Hits: 0.131, size: 2461, dkim_sd=20120113:gmail.com, 316 ms
May 23 23:54:43 delta postfix-second/smtp[76672]: 93D2F5E0DD2: to=<info@myRealDomainHere.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=1006, delays=1005/0.04/0.01/0.31, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=76556-01 - Temporary MTA failure on relaying, From MTA() during fwd-connect (All attempts (1) failed connecting to smtp:*:*): id=76556-01 (in reply to end of DATA command))
May 23 23:54:43 delta amavis[76555]: (76555-02) (!)connect to *:* failed, attempt #1: Can't connect to socket *:* using module IO::Socket::IP: Connection refused
I dont know what else to do. Trying to sort this out for 2 days now. Still not working.
I really need the multiple postfix instances for sending emails from specific IP's.
I would also accept to deactive Amavis but i tried to Stop the service and comment the lines
Code:
#content_filter = amavis:[127.0.0.1]:10024
#receive_override_options = no_address_mappings
Thanks for every Answer !
Jan