Hi all.
I'm having a problem with Postfix and forwarding mail.
Using Postfix with Mysql and amavisd-new.
I have 3 tables in my DB : 1-aliases, 2-mailbox, 3-domain.
I add a alias for :
alias@intrahouse.by.com ->
paul@tenfjord.net
And when I send a message to
alias@intrahouse.by.com I see this in the log :
Code:
Dec 14 14:20:25 [postfix/smtpd] connect from paul.tenfjord.net[81.26.33.19]
Dec 14 14:20:25 [postfix/smtpd] 51324BA406: client=paul.tenfjord.net[81.26.33.19]
Dec 14 14:20:25 [postfix/smtpd] warning: restriction reject_maps_rbl is going away. Please use reject_rbl_client <domain> instead
Dec 14 14:20:25 [postfix/cleanup] 51324BA406: message-id=<200312141421.21235.paul@intrahouse.no>
Dec 14 14:20:25 [postfix/qmgr] 51324BA406: from=<paul@intrahouse.no>, size=874, nrcpt=1 (queue active)
Dec 14 14:20:25 [postfix/smtpd] disconnect from paul.tenfjord.net[81.26.33.19]
Dec 14 14:20:25 [postfix/smtpd] connect from localhost[127.0.0.1]
Dec 14 14:20:25 [postfix/smtpd] 789D9BA40D: client=localhost[127.0.0.1]
Dec 14 14:20:25 [postfix/cleanup] 789D9BA40D: message-id=<200312141421.21235.paul@intrahouse.no>
Dec 14 14:20:25 [postfix/qmgr] 789D9BA40D: from=<paul@intrahouse.no>, size=1324, nrcpt=1 (queue active)
Dec 14 14:20:25 [postfix/smtpd] disconnect from localhost[127.0.0.1]
Dec 14 14:20:25 [postfix/smtp] 51324BA406: to=<paul@tenfjord.net>, orig_to=<alias@intrahouse.by.com>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, id=25364-07, from MTA: 250 Ok: queued as 789D9BA40D)
Dec 14 14:20:25 [postfix/smtp] 789D9BA40D: to=<paul@tenfjord.net>, relay=mail.pcsupport.no[81.26.32.130], delay=0, status=sent (250 Message queued)
Everything looks fine but the mail never gets to my mailbox
If I try to remove the content_filter=** in main.cf I see the same log message.
But check this, when I set up a alias :
paul@gentoo.intrahouse.no ->
paul@tenfjord.net
And "myhostname = gentoo.intrahouse.no" it works like a charm! What am I missing here?!
This is from the log when I send with
paul@gentoo.intrahouse.no, the log looks the same.
Code:
Dec 14 14:16:23 [postfix/smtpd] connect from paul.tenfjord.net[81.26.33.19]
Dec 14 14:16:23 [postfix/smtpd] E28A5BA406: client=paul.tenfjord.net[81.26.33.19]
Dec 14 14:16:23 [postfix/smtpd] warning: restriction reject_maps_rbl is going away. Please use reject_rbl_client <domain> instead
Dec 14 14:16:24 [postfix/cleanup] E28A5BA406: message-id=<200312141417.20131.paul@intrahouse.no>
Dec 14 14:16:24 [postfix/qmgr] E28A5BA406: from=<paul@intrahouse.no>, size=881, nrcpt=1 (queue active)
Dec 14 14:16:24 [postfix/smtpd] disconnect from paul.tenfjord.net[81.26.33.19]
Dec 14 14:16:24 [postfix/smtpd] connect from localhost[127.0.0.1]
Dec 14 14:16:24 [postfix/smtpd] 17097BA40D: client=localhost[127.0.0.1]
Dec 14 14:16:24 [postfix/cleanup] 17097BA40D: message-id=<200312141417.20131.paul@intrahouse.no>
Dec 14 14:16:24 [postfix/qmgr] 17097BA40D: from=<paul@intrahouse.no>, size=1331, nrcpt=1 (queue active)
Dec 14 14:16:24 [postfix/smtpd] disconnect from localhost[127.0.0.1]
Dec 14 14:16:24 [postfix/smtp] E28A5BA406: to=<paul@tenfjord.net>, orig_to=<paul@gentoo.intrahouse.no>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=25440-06, from MTA: 250 Ok: queued as 17097BA40D)
Dec 14 14:16:24 [postfix/smtp] 17097BA40D: to=<paul@tenfjord.net>, relay=mail.pcsupport.no[81.26.32.130], delay=0, status=sent (250 Message queued)
I don't know where I should start to look for more debug info.. The amavis log does not show anything usefull.
postconf -n output :
Code:
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 4
default_destination_concurrency_limit = 10
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = intrahouse.no
myhostname = gentoo.intrahouse.no
mynetworks = 213.187.182.0/24, 127.0.0.0/8
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.11
recipient_delimiter = +
relay_domains = $mydestination, $transport_maps
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_recipient_restrictions = permit_mynetworks, reject_maps_rbl, permit_mx_backup,
check_client_access hash:/etc/postfix/filtered_domains, permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
soft_bounce = yes
unknown_local_recipient_reject_code = 450
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:207
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = virtual
virtual_uid_maps = static:207
Thanks