Hej
I have currently have my mailserver and it was on a /24 subnet lets say 210.210.210.210/24 for the sake of it.
We are currently changing our ISP and our company now has only one ip adresse, lets say 95.95.95.95/255.255.255.224, which i believe is a /27 subnet. when sending mails from within the organisation i forward my mails from my 192.168.0.0 network through my 95. gateway to my 210 mailserver on my old ISPs network, i receive an error (can´t tell you what it says as i am not currently at work), but the error has to do with letting the 95. network relay its mail through the 210 server.
i have in my postfix main.cf file altered the already existant lines mynetworks and permit_mynetworks :
i have stated the ip adresse given to us and the subnet as 95.95.95.95/27 we only have that one ip adresse
mynetworks = 95.95.95.95/27, 210.210.210.0/24, 127.0.0.0/8
#content_filter = smtpd:127.0.0.1:10024
content_filter = smtp-amavis:127.0.0.1:10024
policy_time_limit = 3600
owner_request_special = no
empty_address_recipient = MAILER-DAEMON
queue_minfree = 40000000
message_size_limit = 20000000
mailbox_size_limit = 100000000
permit_mynetworks = 95.95.95.95/27, 210.210.210.0/24, 127.0.0.0/8, 127.0.0.1
When i try to send a mail, it is not relayed and i am given an error in the mail log that 95.95.95.95/27 is unknown and at the user end the mail is rejected
Any help would be much appreciated
Thanks
Peter
I have currently have my mailserver and it was on a /24 subnet lets say 210.210.210.210/24 for the sake of it.
We are currently changing our ISP and our company now has only one ip adresse, lets say 95.95.95.95/255.255.255.224, which i believe is a /27 subnet. when sending mails from within the organisation i forward my mails from my 192.168.0.0 network through my 95. gateway to my 210 mailserver on my old ISPs network, i receive an error (can´t tell you what it says as i am not currently at work), but the error has to do with letting the 95. network relay its mail through the 210 server.
i have in my postfix main.cf file altered the already existant lines mynetworks and permit_mynetworks :
i have stated the ip adresse given to us and the subnet as 95.95.95.95/27 we only have that one ip adresse
mynetworks = 95.95.95.95/27, 210.210.210.0/24, 127.0.0.0/8
#content_filter = smtpd:127.0.0.1:10024
content_filter = smtp-amavis:127.0.0.1:10024
policy_time_limit = 3600
owner_request_special = no
empty_address_recipient = MAILER-DAEMON
queue_minfree = 40000000
message_size_limit = 20000000
mailbox_size_limit = 100000000
permit_mynetworks = 95.95.95.95/27, 210.210.210.0/24, 127.0.0.0/8, 127.0.0.1
When i try to send a mail, it is not relayed and i am given an error in the mail log that 95.95.95.95/27 is unknown and at the user end the mail is rejected
Any help would be much appreciated
Thanks
Peter