
20th October 2009, 11:08
|
|
Member
|
|
Join Date: Aug 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
If you add just the outgoing IP and 127.0.0.1, then there is no other IP address to send for postfix and it should use the outgoing IP.
|
no sir it didnt work again. i tried this. only added listenin ip address. but outgoing ip address did not changed.
________
Live Sex
Last edited by mbunal; 8th September 2011 at 07:48.
|

24th October 2009, 15:18
|
|
Member
|
|
Join Date: Aug 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
any suggestion?
________
Mflb Battery Recharging
Last edited by mbunal; 8th September 2011 at 07:48.
|

31st March 2010, 18:40
|
|
HowtoForge Supporter
|
|
Join Date: Apr 2007
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
|
|
I was having the same issue when trying to bind outgoing mails to one interface, which usually worked with the smtp_bind_address without Amavis being involved.
With Amavis you also have to add this interface to the Amavis config, because per default Amavis accepts only connections via the Loopback interface.
For my Debian based systems i added
@inet_acl = qw( 127.0.0.1 [::1] IP/MASK );
to the 50-user file in /etc/amavis/conf.d
|

19th June 2012, 22:55
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
What is the current solution for this with ISPCFG3? I am having the same issue but this thread is from 2010...
|

20th June 2012, 08:44
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
See Post #13 in this thread.
|

21st June 2012, 01:01
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
Thanks but will I have to edit /etc/amavis/conf.d again after I update ISPCFG3 and select to reconfigure services?
|

27th June 2012, 11:20
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
seeing that I had no answer to this question, here are some more:
is this correct:
add smtp_bind_address=outgoing_IP to my postfix configuration
then add @inet_acl = qw( 127.0.0.1 [::1] IP/MASK ); to the 50-user file in /etc/amavis/conf.d
restart postfix and amavis, all set?
so what about the the 50-user file in /etc/amavis/conf.d ?
will I have to update it after every ISPCFG3 update?
This is my first time checking out this amavis config file and I am wondering about those settings:
i.e. $sa_tag_level_deflt = 20.0; - does this or the settings defined in ISPCFG3 have precedence?
|

27th June 2012, 11:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
Dont edit the 50-user file. Create you own file for custom settings which get included after the 50-udser like "60-custom" and add your changes there.
Quote:
|
i.e. $sa_tag_level_deflt = 20.0; - does this or the settings defined in ISPCFG3 have precedence?
|
The settings in ispconfig, otherwise it would not make much sense to offer settings in ispcobnfig at all
|

27th June 2012, 11:48
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
creating my own file i.e. 60-custom is enough? it will be automatically picked up by amavis if it exists?
one more error with above solution:
Quote:
|
then add @inet_acl = qw( 127.0.0.1 [::1] IP/MASK ); to the 50-user file in /etc/amavis/conf.d
|
amavis doesn't start and my logs say:
Quote:
Jun 27 11:44:38 h1870666 amavis[2462]: (!!)TROUBLE in pre_loop_hook: IPv6 address [IP/MASK] contains fewer than 8 fields
Jun 27 11:44:38 h1870666 amavis[2462]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: IPv6 address [IP/MASK] contains fewer than 8 fields
|
|

27th June 2012, 15:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
Quote:
|
creating my own file i.e. 60-custom is enough? it will be automatically picked up by amavis if it exists?
|
yes.
Quote:
|
amavis doesn't start and my logs say:
|
IP/MASK is a placeholder, you have to replace it with the Ip and netmask that you want to allow connections to amavisd. If you wamt to add only one IP, then you have to set the IP without mask.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:25.
|
Recent comments
10 hours 1 min ago
14 hours 59 min ago
16 hours 26 min ago
17 hours 19 min ago
19 hours 2 min ago
23 hours 25 min ago
1 day 17 min ago
1 day 2 hours ago
1 day 15 hours ago
1 day 17 hours ago