Re: Postfix with virtual domains and the username
On 03.02.2011 00:27, wrote Matt: On Wed, Feb 2, 2011 at 5:31 PM, Mauricio Tavares raubvo...@gmail.com wrote: On Wed, Feb 2, 2011 at 5:10 PM, Matt mhop...@gmail.com wrote: I'm working on replacing an ageing Posfix install with a new server. On the old and new server we use virtual domains. On the old server we login with: username.domain.com On the new server Postfix is configured to allow login as: usern...@domain.com I'd actually rather prefer the new format, however, for ease of transition is there a way I can configure Postfix to allow the . and even better yet, to allow either? What are you using to do the authentication? And, when you mean logging in do you mean to check mail (IMAP/POP3) or to send mail (SMTP AUTH)? I am using dovecot. I mean IMAP/POP3 and SMTP. It's really not a big deal if I need to use the @ sign, I just figured if I could do both it would ease the transition. Maybe this helps: http://wiki1.dovecot.org/MainConfig?highlight=(auth_username_translation)
Blackhole Messages
Hello all, I have a server running Postfix 2.5.1 on Ubuntu LTS. Over the years I have run many Postfix servers but this is the first time I have a problem that I just can't seem to find much information about. Every now and then in the logs I see a message such as this: Feb 13 14:37:37 lnxsrv01 postfix/local[19279]: 6A861302508: to=:blackhole:@lx.x.com, orig_to=tanzeel...@x.com, relay=local, delay=0.49, delays=0.23/0.18/0/0.08, dsn=5.1.1, status=bounced (unknown user: :blackhole:) In this case it is spam that has been rejected but in almost 8 years of using Postfix I have never seen this before. Here is the output from postconf -n alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix home_mailbox = Maildir/ mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailbox_size_limit = 0 mydestination = xxx.xx.com, localhost.xx.com, , localhost myhostname = xx.xx.com myorigin = /etc/mailname readme_directory = no recipient_delimiter = + sender_bcc_maps = hash:/etc/postfix/bcc smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_rbl_client zen.spamhaus.org reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_tls_CAfile = /mailcert/ca-bundle.cer smtpd_tls_auth_only = no smtpd_tls_cert_file = /mailcert/cert smtpd_tls_key_file = /mailcert/ssl.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes tls_random_source = dev:/dev/urandom virtual_alias_maps = hash:/etc/postfix/virtual Any assistance greatfuly appreciated -Frog.
Re: Blackhole Messages
/dev/rob0 r...@gmx.co.uk wrote .. On Sat, Feb 13, 2010 at 07:28:35PM +, Frog wrote: Every now and then in the logs I see a message such as this: Feb 13 14:37:37 lnxsrv01 postfix/local[19279]: 6A861302508: to=:blackhole:@lx.x.com, orig_to=tanzeel...@x.com, relay=local, delay=0.49, delays=0.23/0.18/0/0.08, dsn=5.1.1, status=bounced (unknown user: :blackhole:) In this case it is spam that has been rejected No, it's backscatter. You accepted it, then sent a bounce. Ok, That's what I was thinking as some of the hosted domains have been migrated from another server recently. but in almost 8 years of using Postfix I have never seen this before. Here is the output from postconf -n You have munged domain names, looking inconsistent at that, so if your question pertains to mail routing, it is not possible to help you. I can guess what might have happened. You got spam for this orig_to=tanzeel...@x.com, and it was rewritten (perhaps by alias_maps; perhaps by virtual_alias_maps) to this other to=:blackhole:@lx.x.com address. That munged domain is in mydestination (although your munging did not show that), and there's no local user nor alias called :blackhole:. Why this :blackhole: result? You'd have to tell us. The server has been setup with Virtualmin to hande all virtual hosting but oddly the other Virtualmin servers never displayed similar messages in the logs. Maybe blackhole has something too do with Virtualmin. In any event I will have to ask them. alias_maps = hash:/etc/aliases mydestination = xxx.xx.com, localhost.xx.com, , localhost myhostname = xx.xx.com myorigin = /etc/mailname sender_bcc_maps = hash:/etc/postfix/bcc virtual_alias_maps = hash:/etc/postfix/virtual Any assistance greatfuly appreciated The problem description was inadequate, but I left in the possibly relevant postconf lines. So I guess it is largely backscatter that is responsible. Time to read the documentation. Many thanks for your help. -Frog
Re: What Is Causing This Failure
Perhaps your mail server is on a DNSBL? Regards Frog - Original Message - From: Carlos Williams carlosw...@gmail.com To: postfix-users@postfix.org Sent: Tuesday, 1 December, 2009 4:05:25 PM Subject: Re: What Is Causing This Failure On Tue, Dec 1, 2009 at 10:43 AM, Ralf Hildebrandt ralf.hildebra...@charite.de wrote: What is the output of traceroute 198.186.193.20 ? I get no results from my mail server: traceroute to 198.186.193.20 (198.186.193.20), 30 hops max, 40 byte packets 1 * * * 2 * * * 3 * * * 4 * * * 5 * * * . . . 29 * * * 30 * * * Strange...