Hi all,
I'm trying to get Postfix (2.1.5) to SEND mail (I can RECEIVE mail), but I
think I made a configuration error.
Here is my Postfix configuration (postconf -n):
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 2
home_mailbox = .maildir/
html_directory = no
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
myhostname = smtp.novaeres.com
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5-r1/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
I only made these configuration changes to /etc/postfix:
myhostname = smtp.novaeres.com
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = subnet
Note that my hostname is not really "smtp", but "miranda". I do have a A
record smtp.novaeres.com that points to this machine:
nslookup -type=a smtp.novaeres.com
Name: smtp.novaeres.com
Address: 212.238.149.98
And a MX record that points to smtp.novaeres.com:
nslookup -type=mx novaeres.com
novaeres.com preference = 100, mail exchanger = relay-2.mail.nl.demon.net
novaeres.com preference = 10, mail exchanger = smtp.novaeres.com
novaeres.com nameserver = ns1.demon.nl
novaeres.com nameserver = ns2.demon.nl
smtp.novaeres.com internet address = 212.238.149.98
ns1.demon.nl internet address = 194.159.73.6
ns2.demon.nl internet address = 194.159.176.4
This is the output from /var/log/mail/current when I try to send a mail
from my user account to another email address hosted by my provider:
Oct 26 11:29:24 [postfix/pickup] 1B7A0F421: uid=1000 from=<guray>
Oct 26 11:29:24 [postfix/cleanup] 1B7A0F421:
message-id=<20041026092924.GA1094@miranda.novaeres.com>
Oct 26 11:29:24 [postfix/qmgr] 1B7A0F421: from=<guray@novaeres.com>,
size=438, nrcpt=1 (queue active)
Oct 26 11:29:26 [postfix/smtp] connect to xs4all.nl[194.109.21.3]:
Connection refused (port 25)
Oct 26 11:29:27 [postfix/smtp] connect to xs4all.nl[194.109.21.4]:
Connection refused (port 25)
Oct 26 11:29:27 [postfix/smtp] 1B7A0F421: to=<seng@xs4all.nl>, relay=none,
delay=3, status=deferred (connect to xs4all.nl[194.109.21.4]: Connection
refused)
Weird thing is that the MX record for xs4all.nl does not point to
194.109.21.4, but Postfix is trying to connect to that IP address anyway,
in my eyes it should connect to one of the mx servers found below:
nslookup -type=mx xs4all.nl
Non-authoritative answer:
xs4all.nl preference = 100, mail exchanger = mx1.xs4all.nl
xs4all.nl preference = 100, mail exchanger = mx2.xs4all.nl
xs4all.nl preference = 100, mail exchanger = mx3.xs4all.nl
xs4all.nl preference = 100, mail exchanger = mx4.xs4all.nl
Authoritative answers can be found from:
xs4all.nl nameserver = ns2.xs4all.nl
xs4all.nl nameserver = ns.ripe.net
xs4all.nl nameserver = ns.xs4all.nl
mx1.xs4all.nl internet address = 194.109.24.132
mx2.xs4all.nl internet address = 194.109.24.138
mx3.xs4all.nl internet address = 194.109.24.134
mx4.xs4all.nl internet address = 194.109.24.139
ns2.xs4all.nl internet address = 194.109.9.100
ns.ripe.net internet address = 193.0.0.193
ns.ripe.net IPv6 address = 2001:610:240:0:53::193
ns.xs4all.nl internet address = 194.109.6.67
Anyone out here that can help?
Many thanks,
Guray
--
gentoo-user@gentoo.org mailing list
I'm trying to get Postfix (2.1.5) to SEND mail (I can RECEIVE mail), but I
think I made a configuration error.
Here is my Postfix configuration (postconf -n):
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 2
home_mailbox = .maildir/
html_directory = no
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
myhostname = smtp.novaeres.com
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5-r1/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
I only made these configuration changes to /etc/postfix:
myhostname = smtp.novaeres.com
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks_style = subnet
Note that my hostname is not really "smtp", but "miranda". I do have a A
record smtp.novaeres.com that points to this machine:
nslookup -type=a smtp.novaeres.com
Name: smtp.novaeres.com
Address: 212.238.149.98
And a MX record that points to smtp.novaeres.com:
nslookup -type=mx novaeres.com
novaeres.com preference = 100, mail exchanger = relay-2.mail.nl.demon.net
novaeres.com preference = 10, mail exchanger = smtp.novaeres.com
novaeres.com nameserver = ns1.demon.nl
novaeres.com nameserver = ns2.demon.nl
smtp.novaeres.com internet address = 212.238.149.98
ns1.demon.nl internet address = 194.159.73.6
ns2.demon.nl internet address = 194.159.176.4
This is the output from /var/log/mail/current when I try to send a mail
from my user account to another email address hosted by my provider:
Oct 26 11:29:24 [postfix/pickup] 1B7A0F421: uid=1000 from=<guray>
Oct 26 11:29:24 [postfix/cleanup] 1B7A0F421:
message-id=<20041026092924.GA1094@miranda.novaeres.com>
Oct 26 11:29:24 [postfix/qmgr] 1B7A0F421: from=<guray@novaeres.com>,
size=438, nrcpt=1 (queue active)
Oct 26 11:29:26 [postfix/smtp] connect to xs4all.nl[194.109.21.3]:
Connection refused (port 25)
Oct 26 11:29:27 [postfix/smtp] connect to xs4all.nl[194.109.21.4]:
Connection refused (port 25)
Oct 26 11:29:27 [postfix/smtp] 1B7A0F421: to=<seng@xs4all.nl>, relay=none,
delay=3, status=deferred (connect to xs4all.nl[194.109.21.4]: Connection
refused)
Weird thing is that the MX record for xs4all.nl does not point to
194.109.21.4, but Postfix is trying to connect to that IP address anyway,
in my eyes it should connect to one of the mx servers found below:
nslookup -type=mx xs4all.nl
Non-authoritative answer:
xs4all.nl preference = 100, mail exchanger = mx1.xs4all.nl
xs4all.nl preference = 100, mail exchanger = mx2.xs4all.nl
xs4all.nl preference = 100, mail exchanger = mx3.xs4all.nl
xs4all.nl preference = 100, mail exchanger = mx4.xs4all.nl
Authoritative answers can be found from:
xs4all.nl nameserver = ns2.xs4all.nl
xs4all.nl nameserver = ns.ripe.net
xs4all.nl nameserver = ns.xs4all.nl
mx1.xs4all.nl internet address = 194.109.24.132
mx2.xs4all.nl internet address = 194.109.24.138
mx3.xs4all.nl internet address = 194.109.24.134
mx4.xs4all.nl internet address = 194.109.24.139
ns2.xs4all.nl internet address = 194.109.9.100
ns.ripe.net internet address = 193.0.0.193
ns.ripe.net IPv6 address = 2001:610:240:0:53::193
ns.xs4all.nl internet address = 194.109.6.67
Anyone out here that can help?
Many thanks,
Guray
--
gentoo-user@gentoo.org mailing list