| Linode Forum https://forum.linode.com/ |
|
| POSTFIX: cannot send mail to external addresses - FIXED https://forum.linode.com/viewtopic.php?f=11&t=2666 |
Page 1 of 1 |
| Author: | daikamar [ Fri Mar 23, 2007 11:55 am ] |
| Post subject: | POSTFIX: cannot send mail to external addresses - FIXED |
Hello, I'm having some problems with my POSTFIX installation. I'm able to receive emails on my local accounts from either external address or local addresses. I am also able to send email to local addresses. However I am unable to send any email to any external addresses. I'm running POSTFIX with virtual domains and Anomy Sanitizer and Spamassassin. I've tried #'ing out the changes I made with Anomy and SA but that doesn't seem to make a difference. I'd scrap everything and start from scratch but I'm thinking this is something easy that I'm just missing. Here's what I'm getting in my /var/log/maillog: Code: Mar 23 11:28:09 li15-133 sendmail[8738]: l2NFS4kP008738: from=address@int_domain.net, size=485, class=0, nrcpts=1, msgid=<1174663684.8734@li15-133.members.linode.com>, relay=root@localhost Here's my /etc/postfix/main.cf: Code: soft_bounce = no and my /etc/postfix/master.cf: Code: smtp inet n - n - - smtpd and my /usr/local/anomy/filter.sh: Code: INSPECT_DIR=/home/filter and /etc/postfix/filtered_domains: Code: # Filter only mail addressed to local domains: Thanks for any help! |
|
| Author: | pclissold [ Fri Mar 23, 2007 5:36 pm ] |
| Post subject: | |
Looks like your mynetworks is wrong. You have Code: mynetworks = myhost2.net,myhost3.com Postfix Configuration - Basics wrote: Alternatively, you can specify the mynetworks list by hand, in which case Postfix ignores the mynetworks_style setting. To specify the list of trusted networks by hand, specify network blocks in CIDR (network/mask) notation, for example:
mynetworks = 168.100.189.0/28, 127.0.0.0/8 |
|
| Author: | daikamar [ Mon Mar 26, 2007 5:15 pm ] |
| Post subject: | |
pclissold wrote: Looks like your mynetworks is wrong. You have Code: mynetworks = myhost2.net,myhost3.com Made the changes but was still having some problems. What ended up fixing it for me was changing the smtpd_recipient_restrictions to the following: Code: smtpd_recipient_restrictions = permit_mynetworks The only part I think was really needed to be added was the "check_sender_access hash:/etc/postfix/access" portion. With /etc/postfix/access containing a list of IP addresses authorized to relay through my smtp: ex: 127.0.0.1 OK 99.99.99 OK 126.99 OK Thanks for the help! |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|