Tag: postfix

  • Postfix + SES : SASL authentication failed

    Postfix + SES : SASL authentication failed

    After configuring AWS SES service with Postfix, you may have found error in logs – SASL authentication failed . The error will not allow you to send email from server by using AWS SES service. Reasons For Error : SASL authentication failed 1. Incorrect Credential : (a) Many times the “SASL authentication failed” error happened […]

  • How to delete mail queue in Postfix

    How to delete mail queue in Postfix

    In this tutorial we will learn, how to delete mail queue in Postfix .To clear the mail queue in Postfix, we will use the command called postsuper . Abbreviation of postsuper is Postfix superintendent . postsuper command can only be run by super user of the system eg. root . Postsuper command is used for […]

  • hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory

    hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory

    Few days back I did some changes in /etc/postfix/virtual file and restarted the postfix service.Today I saw some error in mail logs stating “hash:/etc/postfix/virtual is unavailable. open database /etc/postfix/virtual.db: No such file or directory” I checked /etc/postfix/virtual.db about its existence by using command ls -l /etc/postfix/virtual.db and found it was not there. To resolve this […]

  • Forward all incoming emails to other SMTP server or gateway

    Forward all incoming emails to other SMTP server or gateway

    In this post we will learn how to forward all emails of particular domain to another SMTP server or gateway. I also used this method in different scenario. Scenario: I have my own mail server which can host multiple virtual domains and users (postfix+mysql). Now a client has domain called example.com and for mailing he […]

  • create noreply email id in postfixadmin mysql database

    create noreply email id in postfixadmin mysql database

    create noreply email id in Virtual Domain and Users postfix mail server in postfixadmin’s mysql database I always prefer to go with Postfix mail server with mysql and dovecot. For postfix mysql as backend I generally use the postfixadmin. Postfixadmin is easy to configure whereas through web interface or command line you can manage the […]

  • How to change smtp port number 25 in postfix

    How to change smtp port number 25 in postfix

    How to change smtp port number 25 in postfix Bydefault the SMTP protocol runs at port no. 25. You can change the port no. to any port no. other than below 2048. 0 to 2048 are IANA authorized known port no.but we have some other port no. also which are bydefault used by manyapplication for. […]