Problems with Postfix

Hy,

I have problems with postfix (I have now 4 Domains (vServer) on my System:

Jun 1 05:44:50 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 4974C681C0A8: from=<>, size=3468, nrcpt=1 (queue active) Jun 1 05:44:50 Debian-50-lenny-64-LAMP postfix/trivial-rewrite[6973]: warning: do not list domain austria-fans.at in BOTH mydestination and virtual_alias_domains Jun 1 05:44:50 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 38297681C0E0: from=<>, size=3468, nrcpt=1 (queue active) Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/pickup[6971]: 4C1C1681C0A7: uid=33 from=<www-data> Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/cleanup[6990]: 4C1C1681C0A7: message-id=<20090601034459.4C1C1681C0A7@austria-fans.at> Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 4C1C1681C0A7: from=<www-data@localhost>, size=1673, nrcpt=1 (queue active) Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/error[6992]: 4C1C1681C0A7: to=<fuzzy@derfuzzy.at>, relay=none, delay=0.12, delays=0.09/0.01/0/0.02, dsn=5.0.0, status=bounced ([color=#FF0000]User unknown in virtual alias table[/color]) Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/cleanup[6990]: 59172681C0AD: message-id=<20090601034459.59172681C0AD@austria-fans.at> Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 59172681C0AD: from=<>, size=3450, nrcpt=1 (queue active) Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/bounce[6993]: 4C1C1681C0A7: sender non-delivery notification: 59172681C0AD Jun 1 05:44:59 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 4C1C1681C0A7: removed

main.cf:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

Debian specific: Specifying a file name will cause the first

line of that file to be used as the name. The Debian default

is /etc/mailname.

#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

appending .domain is the MUA’s job.

append_dot_mydomain = no

Uncomment the next line to generate "delayed mail" warnings

#delay_warning_time = 4h

readme_directory = no

TLS parameters

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

information on enabling SSL in the smtp client.

myhostname = austria-fans.at
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = austria-fans.at, localhost.at, , localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

postconf -n
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix home_mailbox = Maildir/ inet_interfaces = all mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailbox_size_limit = 0 mydestination = austria-fans.at, localhost.at, , localhost myhostname = austria-fans.at mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = sender_bcc_maps = hash:/etc/postfix/bcc smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes virtual_alias_maps = hash:/etc/postfix/virtual

Sorry i am a Newbie… i have no Idea what the Problem is… Sorry for my English …<br><br>Post edited by: derfuzzy, at: 2009/05/31 19:04

Hello,

So – it sounds like you’re saying the problem is that emails going to “fuzzy@derfuzzy.at” bounce.

Is that particular email account enabled?

If you go into Edit Mail and FTP users, and click "fuzzy", then "Email settings", is "Primary email address enabled" set to yes?
-Eric

Do emails going to other users on the system work, or do they bounce as well?

1 line in your log says:
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/error[19558]: 11CAC681C0A8: to=<admin@austriafans.at>, relay=none, delay=0.08, delays=0.05/0.01/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)

the actual domain is: austria-fans.at

also this looks weird to me:
mydestination = austria-fans.at, localhost.at, , localhost

what is a localhost.at ?

to the best of my knowledge this line always needs to end with a permit:
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

the other bounces is either the mailbox does not exist or the mailbox is not configured to deliver locally (like Eric suggested)

to the best of my knowledge this line always needs to end with a permit: smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

Nah. That line looks fine.

what is a localhost.at ?

Sorry I do not know what that is …
but this is the original configuration of virtualmin / webmin

what do you mean with smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination ??

Sorry I do not know what that is ... but this is the original configuration of virtualmin / webmin

No, it’s not. :wink:

Virtualmin/Webmin doesn’t mess with your hosts file except to add a FQDN if you haven’t already correctly set one (if install.sh asked you to set a hostname, then it would have added whatever you told it, to the /etc/hosts file). It definitely does not modify mydestination to include anything like localhost.at.

localhost.at is weird.

Hello,

Jun 1 11:41:59 Debian-50-lenny-64-LAMP postfix/pickup[16755]: CD69C681C0A8: uid=0 from=<www-data@austria-fans.at> Jun 1 11:41:59 Debian-50-lenny-64-LAMP postfix/cleanup[19516]: CD69C681C0A8: message-id=<1243849319.19512@austria-fans.at> Jun 1 11:41:59 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: CD69C681C0A8: from=<www-data@austria-fans.at>, size=583, nrcpt=1 (queue active) Jun 1 11:42:01 Debian-50-lenny-64-LAMP postfix/smtp[19518]: CD69C681C0A8: to=<derfuzzy@chello.at>, relay=smtpgate.chello.at[213.46.255.2]:25, delay=1.4, delays=0.05/0.01/1.1/0.25, dsn=2.0.0, status=sent (250 2.0.0 yZjm1b08X2ufN9R01ZjnWh message accepted for delivery) Jun 1 11:42:01 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: CD69C681C0A8: removed

Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/pickup[16755]: 11CAC681C0A8: uid=0 from=<www-data@austria-fans.at>
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/cleanup[19516]: 11CAC681C0A8: message-id=<1243849414.19553@austria-fans.at>
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 11CAC681C0A8: from=<www-data@austria-fans.at>, size=587, nrcpt=1 (queue active)
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/error[19558]: 11CAC681C0A8: to=<admin@austriafans.at>, relay=none, delay=0.08, delays=0.05/0.01/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/cleanup[19516]: 228E8681C0AE: message-id=<20090601094334.228E8681C0AE@austria-fans.at>
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/bounce[19559]: 11CAC681C0A8: sender non-delivery notification: 228E8681C0AE
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 228E8681C0AE: from=<>, size=2322, nrcpt=1 (queue active)
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/trivial-rewrite[19557]: warning: do not list domain austria-fans.at in BOTH mydestination and virtual_alias_domains
Jun 1 11:43:34 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 11CAC681C0A8: removed

Jun 1 11:46:00 Debian-50-lenny-64-LAMP postfix/pickup[16755]: 86450681C0A8: uid=0 from=<www-data@austria-fans.at>
Jun 1 11:46:00 Debian-50-lenny-64-LAMP postfix/cleanup[19725]: 86450681C0A8: message-id=<1243849560.19721@austria-fans.at>
Jun 1 11:46:00 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 86450681C0A8: from=<www-data@austria-fans.at>, size=592, nrcpt=1 (queue active)
Jun 1 11:46:00 Debian-50-lenny-64-LAMP postfix/smtp[19727]: 86450681C0A8: to=<derfuzzy@gmx.at>, relay=mx1.gmx.net[213.165.64.102]:25, delay=0.49, delays=0.07/0.01/0.13/0.27, dsn=2.6.0, status=sent (250 2.6.0 Message accepted {mx078})
Jun 1 11:46:00 Debian-50-lenny-64-LAMP postfix/qmgr[6972]: 86450681C0A8: removed

If an external e-mail address broadcast goes through the mail.
Send me an e-mail to a domain I have hosted, the errors … And I for each domain using Google Apps and I just from the server wants to send!