From: "motty.cruz" on 12 Mar 2010 18:52 Hello, I'm trying to get postfix to deliver mail to virtual user account, this is what I get. Using postfix with mysql, below is my log and postfix configuration. Thanks, in advance, /var/log/maillog Mar 12 22:13:07 flux postfix/qmgr[2414]: 7A7A8239790: removed Mar 12 22:13:07 flux postfix/smtp[2449]: B0490239791: to=<root(a)flux.lugostowing.net>, relay=none, delay=0.08, delays=0.07/0.01/0/0, dsn=5.4.6, status=bounced (mail for flux.lugostowing.net loops back to myself) Mar 12 22:13:07 flux postfix/qmgr[2414]: B0490239791: removed flux# flux# postconf -n broken_sasl_auth_clients = yes command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/db/postfix debug_peer_level = 2 html_directory = /usr/local/share/doc/postfix mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydestination = localhost.$mydomain, localhost, mail.lugostowing.net mydomain = lugostowing.net myhostname = flux.lugostowing.net mynetworks = 127.0.0.0/8 newaliases_path = /usr/local/bin/newaliases proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps queue_directory = /var/spool/postfix readme_directory = /usr/local/share/doc/postfix relay_domains = hash:/usr/local/etc/postfix/relay_domains_maps sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_rbl_client list.dsbl.org smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, 127.0.0.0/8 smtpd_tls_CAfile = /etc/ssl/postfix/smtpd.pem smtpd_tls_cert_file = /etc/ssl/postfix/smtpd.pem smtpd_tls_key_file = /etc/ssl/postfix/smtpd.pem smtpd_tls_loglevel = 0 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes soft_bounce = no tls_random_source = dev:/dev/urandom transport_maps = hash:/usr/local/etc/postfix/transport unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/usr/local/etc/postfix/virtual_alias_maps virtual_gid_maps = static:125 virtual_mailbox_base = /usr/local/virtual virtual_mailbox_domains = hash:/usr/local/etc/postfix/virtual_domains_maps virtual_mailbox_limit = 51200000 virtual_mailbox_limit_maps = hash:/usr/local/etc/postfix/virtual_mailbox_limit_maps virtual_mailbox_limit_override = yes virtual_mailbox_maps = hash:/usr/local/etc/postfix/virtual_mailbox_maps virtual_maildir_limit_message = Sorry, this user has overdrawn. Please try again later. virtual_minimum_uid = 125 virtual_overquota_bounce = yes virtual_transport = virtual virtual_uid_maps = static:125 flux# Thanks, -Motty
From: mouss on 12 Mar 2010 19:01 motty.cruz a écrit : > Hello, > > I'm trying to get postfix to deliver mail to virtual user account, this > is what I get. > > Using postfix with mysql, below is my log and postfix configuration. > Thanks, in advance, > > > > /var/log/maillog > > Mar 12 22:13:07 flux postfix/qmgr[2414]: 7A7A8239790: removed > > Mar 12 22:13:07 flux postfix/smtp[2449]: B0490239791: > to=<root(a)flux.lugostowing.net>, relay=none, delay=0.08, > delays=0.07/0.01/0/0, dsn=5.4.6, status=bounced (mail for > flux.lugostowing.net loops back to myself) > 1) there is a reason why the default is: $ postconf -d mydestination mydestination = $myhostname, localhost.$mydomain, localhost so if you remove $myhostname, you are supposed to know what you are doing. now, if you wanty virtual delivery, add flux.lugostowing.net to your virtual domains or fix the application that sends such mail. 2) what application is sending mail to root(a)flux.lugo...? are you running Sendmail? (instead of the postfix sendmail command). > Mar 12 22:13:07 flux postfix/qmgr[2414]: B0490239791: removed > > flux# > > >
|
Pages: 1 Prev: Return Path header Next: Different header_checks depending on smtpd listener |