Currently I am running my Email server on an very old system with an ancient sendmail configuration.
Therefore I am working on a replacement that is using ubuntu server 8.04. As ubuntu has postfix as default I want to use that as well (they say that postfix is easier to configure and more secure).
But I have troubles configuring postfix
I am able to send emails localy (within my own network).
Also mails with a destination within the range of my ISP are delivered.
But mails to anyone else (which is mainly the case, e.g. my work Emails) are bounced....
I am using my ISP to relay all outbound Emails, although my ISP is not blocking port 25, I do not want to hassle with DNS stuff (yet).
My mail log......
to=<name@other.isp>, relay=mail.my.isp[xx.xxx.x.xxx]:25, delay=0.16, delays=0.06/0.01/0.02/0.08, dsn=5.7.1, status=bounced (host mail.my.isp[xx.xxx.x.xxx] said: 554 5.7.1 <name@other.isp>: Relay access denied (in reply to RCPT TO command))
There should be something wrong in my configuration, because my other (old) box is working fine with the same ISP, but I am not able to find it.
Any help is much appreciated..
So Here is my configuration:
postconf -n
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname localhost.$mydomain localhost $mydomain
myhostname = host.own.domain
mynetworks = 127.0.0.0/8, 192.168.xx.0/24
myorigin = $mydomain
notify_classes = resource, software
proxy_interfaces = 192.168.xx.xx
recipient_delimiter = +
relay_domains = $mydestination
relayhost = [mail.my.isp]
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options =
Therefore I am working on a replacement that is using ubuntu server 8.04. As ubuntu has postfix as default I want to use that as well (they say that postfix is easier to configure and more secure).
But I have troubles configuring postfix
I am able to send emails localy (within my own network).
Also mails with a destination within the range of my ISP are delivered.
But mails to anyone else (which is mainly the case, e.g. my work Emails) are bounced....
I am using my ISP to relay all outbound Emails, although my ISP is not blocking port 25, I do not want to hassle with DNS stuff (yet).
My mail log......
to=<name@other.isp>, relay=mail.my.isp[xx.xxx.x.xxx]:25, delay=0.16, delays=0.06/0.01/0.02/0.08, dsn=5.7.1, status=bounced (host mail.my.isp[xx.xxx.x.xxx] said: 554 5.7.1 <name@other.isp>: Relay access denied (in reply to RCPT TO command))
There should be something wrong in my configuration, because my other (old) box is working fine with the same ISP, but I am not able to find it.
Any help is much appreciated..
So Here is my configuration:
postconf -n
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname localhost.$mydomain localhost $mydomain
myhostname = host.own.domain
mynetworks = 127.0.0.0/8, 192.168.xx.0/24
myorigin = $mydomain
notify_classes = resource, software
proxy_interfaces = 192.168.xx.xx
recipient_delimiter = +
relay_domains = $mydestination
relayhost = [mail.my.isp]
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options =