After changing SMTP port from 25 to 587 I can send, but now I don’t receive emails
I configured Postfix, after a time I discovered I am blocked from sending emails because my network is on a blacklist (it’s a dynamic IP). So, sometimes Outlook does not connect to send (still gets the mails). Then I changed the SMTP on the master file and I set port 587 on this way: 587 inet n – - – - smtpd The problem is now I can’t receive, I get these errors: The recipient [...]
Continue Reading »Postfix smtpd won’t talk to saslauthd
I have an saslauthd setup to authenticate against PAM. It seems to do its stuff: root@sasltest:~# testsaslauthd -u quest -p #### -s smtp 0: OK “Success.” I have libsasl 2.1.23, postfix 2.7.1. I have a postfix configured thus: smtpd_sasl_type = cyrus smtpd_sasl_path = /var/spool/postfix/private/saslauthd/mux smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_security_options = noanonymous With a master.cf thus: submission inet n – - – - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject However, trying to authenticate [...]
Continue Reading »SquirrelMail and VAdmin
Recently install SquirrelMail on an Amazon EC2 micro instance. The client requires administrative access – so have installed and set up the – VAdmin Plugin. However, there appears to be hardly any documentation. In the vadmin/conf directory I have created the sql.conf.php file – however there are a lot of predefined SQL queries like for example> vadmin_get_all_usernames_for_domain_query = SELECT username FROM email_users WHERE domain = ‘$1′ $2 ORDER BY username Q. is – how do [...]
Continue Reading »SMTP relay entries
By default, my mail server (Snow Leopard) contains an entry to only accept SMTP relays from 127.0.0.0/8. However, when I attempt to check the option and save, the computer unchecks it. When I change the IP address to just 127.0.0.0, I don’t experience the unchecking problem. There are two possible solutions: either do you know what is causing the unchecking problem (or which configuration file should I edit to manually do this?), or is it [...]
Continue Reading »Spam issues while using Postfix as a two-way relay
I want to use a Postfix box to do two things: Relay mail from any host on the internet addressed to one of my domains to my Zimbra server Relay mail from my Zimbra server to any address on the internet. To try and accomplish this I have configured Postfix thusly: mynetworks = 127.0.0.0/8, zimbra_ip/32 myorigin = zimbra_server mydestination = localhost, zimbra_server relay_domains = example.com example.org transport_maps = hash:/etc/postfix/transport_map local_transport = error:no mailboxes on this [...]
Continue Reading »Stop local emails being sent to relay host with postfix
I’ve recently signed up to SMTP2GO (smtpcorp). I’ve setup postfix on one of EC2 servers and have pointed it to my smtp2go account: relayhost = [smtpcorp.com]:2525 Now all my mail is being routed through SMTP2GO, but the issue is, that the 1000+ emails that are generated by cron job ect are being sent to SMTP2GO using the email address: root@ec2-46-51-151-256.eu-west-1.compute.amazonaws.com My question is, what would be the best way to stop all these “local” emails [...]
Continue Reading »Having trouble interpreting mail log DNS errors
I have a postfix mail server on Debian. A client of mine just informed me that they were unable to send an email to me and it appears that there is a problem with their mail server. I would like to get back to them with the actual problem, but I’m unable to figure this out. This was in the bounce email: The address to which the message has not yet been delivered is:eric@mydomain.com Delay [...]
Continue Reading »How do I setup a catch-all email in postfix
I configured a mail server on ubuntu with postfix (follow this answer) Now I would like to set a catch-all email. How do I go about doing this? Asked by Zenofo You have two choices: Set up an account for that address. Set up a “catch-all” address which will receive the messages for any otherwise undefined address. Answered by John Gardeniers Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on [...]
Continue Reading »Reject non-existent users in Postfix with Maildrop
I use Postfix with virtual mailbox and Maildrop for the transport agent. All my emails are delivered to the folder /home/vmail/domain.tld/user/. Today I noticed that emails sent to non-existent addresses are delivered to the file /home/vmail/domain.tld/user. I would rather have them rejected by the server with an error message to the sender. I think it is responsible to the /etc/postfix/maildroprc file that contains the rules DEFAULT=”/home/vmail/$1/$2″ The file /etc/postfix/main.cfg virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/vmailbox [...]
Continue Reading »How to stop basic Postfix after-queue script from BCC-ing sender?
I’m building a content filter for Postfix (2.9.3 package installed via apt on an Ubuntu 12.04 test VM) and I’m starting with a very basic Ruby (1.9.3) template and building up functionality. Strangely, when the script is enabled, messages sent are being forwarded on as normal, but also sent back to the sender which is not normal. Disabling the script disables this behavior. Any suggestions about what I have to change to stop that from [...]
Continue Reading »Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?



