I have a setup of mailman with postfix on an ubuntu server 12.04. My problem is that mailing list emails are not forwarded to email addresses external to my institution. However
- the initial welcome email is received by everyone, internally and externally.
- in fact, a simple email from command line with
- after that, mailing list emails are only forwarded to internal addresses.
- the domain name I'm using for the server is not that of my institution who is hosting the server.
Here is my
#myorigin = sub.myinstitution.tld mynetworks = 127.0.0.0/8 xxx.xxx.xxx.xxx/16 # this is my institution ip range relayhost = smtp.myinstitution.tld #inet_interfaces = loopback-only #local_transport = error:local delivery is disabled virtual_alias_maps = hash:/etc/postfix/virtual myhostname = mywebsite.tld mydestination = $myhostname, localhost.$mydomain, localhost #relay_domains = $mydestination, ecs.soton.ac.uk
Any help would be much appreciated.
$ postconf -n config_directory = /etc/postfix mydestination = $myhostname, localhost.$mydomain, localhost myhostname = mywebsite.tld mynetworks = 127.0.0.0/8 xxx.xxx.xxx.xxx/16 myorigin = mywebsite.tld relayhost = smtp.myinstitution.tld virtual_alias_maps = hash:/etc/postfix/virtual
I'm not sure what to post for the log. I can't see anything wrong there. This is what happens in
/var/log/mail.log when I send a message:
Sep 29 10:23:19 mywebsite postfix/pickup: 3CD85E4382: uid=10785 from=<myuser> Sep 29 10:23:19 mywebsite postfix/cleanup: 3CD85E4382: message-id=<20120929092319.3CD85E4382@mywebsite.tld> Sep 29 10:23:19 mywebsite postfix/qmgr: 3CD85E4382: from=<email@example.com>, size=338, nrcpt=1 (queue active) Sep 29 10:23:19 mywebsite postfix/smtp: 3CD85E4382: to=<firstname.lastname@example.org>, orig_to=<list>, relay=smtp.myinstitution.tld[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0.04/0/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 q8T9Nap1028342 Message accepted for delivery) Sep 29 10:23:19 mywebsite postfix/qmgr: 3CD85E4382: removed