Postfix SMTP Auth (Relay) Problem

Apr 2, 2009

I've been trying to set up Postfix to send email for the past few days. I've managed to get it to ask for a username and password, in order to try and send mail to an external domain

I can receive email fine on the server, but I can't send email out

Here is my file

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
unknown_local_recipient_reject_code = 550
mynetworks =
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces permit_sasl_authenticated reject_unauth_destination
mynetworks_style = class
smtpd_sasl_auth_enable = yes
allow_untrusted_routing = yes
relay_domains =
smtpd_client_restrictions = permit_mynetworks permit_inet_interfaces
smtpd_sasl_application_name = smtpd
smtpd_sasl_local_domain = $mydomain
smtp_sasl_mechanism_filter = !plain, static:rest
broken_sasl_auth_clients = yes
smtp_sasl_mechanism_filter = login
myorigin =
mydomain =
myhostname =
mydestination = $myhostname, localhost.$mydomain, $mydomain

When I try to login to send the email, it doesn't accept the password.

View 0 Replies


SMTP Auth From A Relay: How Do I Get Around This

Jul 17, 2008

I'd like to describe an issue and see if this sounds familiar to anyone, or if there is a solution that I have not thought of yet.

CAUSE: My ISP (yeah, it's comcast) began blocking port 25 inbound so my personal mail server was no longer receiving mail.

RESOLUTION: I worked through a new DNS re-router to change the port that would now receive mail: from port 25 to port 587. It took me a while to get the routes pointed correctly, but I finally got the messages to route, get through my firewall, and hit the mail server.

NEW PROBLEM: After some IP and DNS routing issues, I finally got things to work, the email that gets sent finally arrives at my mail server. However, the mail server (Alt-N MDaemon) now requires AUTH from the incoming DNS re-direct.

BIG QUESTION: How do I configure MDaemon mail server (or any other mail server, for that matter) to accept the mail from the new re-route server? Mail now re-directed to the new port ALWAYS comes from that route ( Where in the configuration settings of MDaemon do I set it up? I've tried including the host name and the IP address into every WhiteList list I can find, added it to the trusted host name list and everything. I'm at a loss, since it's impossilbe to configure the re-route server to provide AUTH credentials to my mail server. MDaemon now replys to every mail reuqest with : 530

Authentication required (in reply to MAIL FROM command)

View 0 Replies View Related

Plesk 12.x / Linux :: Postfix Smtp Suddenly Started Issuing Relay Access Denied On All Recipients

Jul 10, 2015

After setting up a new server on Plesk12, I successfully ran some test mail outs using phpmailer using the SMTP server on this machine

However, there was an issue in creating new local mail accounts in plesk with an error message each time.

Investigating this issue led me to a solution that I should run mail_restore from the Plesk scripts

This cured the problem of setting up new local accounts but outgoing SMTP mail is always failing with 'relay access denied'.

View 1 Replies View Related

Auth Without Relay

Apr 19, 2008

I am using Exim4.

Please guide me that how to set domainlevel auth without relay?

View 0 Replies View Related

Plesk 12.x / Linux :: Dovecot And Postfix - SASL Auth And TLS?

Sep 15, 2014

Ubuntu 14.04 with Plesk 12 (10 Domain License).Using this for mail only... multiple domains.Postfix and Dovecot installed. Trying to figure out how to do:

- SASL Auth (Dovecot)
- want above two to be mandatory... no plain text auth and no unencrypted connections.

How do I achieve this with Plesk 12?I have found countless how-to's about doing this with Vanilla (non Plesk) installs with the same server software. However, Postfix and both appear to have specific Plesk modificatuons. Same thing for the related Dovecot conf files... also have Plesk specific modifications.

I see no way to enable the desired settings from the Plesk Panel. Can't achieve this within the Panel but also can't modify the conf files without potentially breaking some Plesk-specific functionality? My original hope in purchasing the Plesk license was to make administration of the mail server easier. Unfortunately, I'm struggling to do this now and may have already had this figured out had I not bothered with the Panel.

View 1 Replies View Related

Plesk 12.x / Linux :: CentOS 6.6 - Postfix SASL Auth Fail

Jan 17, 2015

I've just setup CentOS 6.6 with Plesk at my Hoster OVH. Now when I want to connect to the smtp server I get following message:

SASL LOGIN authentication failed: encryption needed to use mechanism
SASL auth is enabled in the also submission. I connect to tls:// with my email and password.

View 2 Replies View Related

Sendmail SMTP AUTH

Feb 27, 2007

My file has:


define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl

Telnet output is:


% telnet localhost 25
Connected to localhost
Escape character is '^]'.
220 local.sendmail.ORG ESMTP Sendmail 8.10.0/8.10.0; Thu, 9 Sep 1999 10:48:44 -0700 (PDT)
ehlo localhost
250-local.sendmail.ORG Hello localhost [], pleased to meet you
250 HELP

But users cannot send email using the server as outgoing mail server with
their user names and passwords.

It says:

Relaying denied. Proper authentication required.

View 10 Replies View Related

Sendmail - SMTP Auth & Max Emails Per Hour

Apr 6, 2009

I have Cpanel, with the "Prevent Nobody from sending emails" in the WHM>Tweak Settings enabled.

I want to force sendmail to use SMPT auth.. so that all mails sent are sent via SMPT and an authenticated POP user.
I guess this will help in limiting the "The maximum each domain can send out per hour" setting.

View 4 Replies View Related

Plesk 12.x / Linux :: Postfix Sending Spam Even If Relay Is Closed

Mar 13, 2015

My postfix is sending huge amounts of e-mail that I was forced to stop postfix.

Even if I set relaying to closed, disable message submission and disable sendmail spam is still being send..

Outgoing mail control reports nothing at all, and if I check my server with online tools to be sure it is not relaying everything is reported fine.

View 3 Replies View Related

Plesk 12.x / Linux :: Postfix Relay - Connection Time Out On Forwarded Mail

Dec 1, 2014

My hosting provider recently (and without any warning) decided to block outgoing connections to port 25. What this means is for any client/domain/email address that has a forwarder setup, the mail will never reach its destination because the connection to the other server always times out. The error logs look like this:

postfix/smtp[8414]: connect to ASPMX2.GOOGLEMAIL.COM[]:25: Connection timed out
postfix/smtp[8421]: connect to[]:25: Connection timed out
postfix/smtp[8425]: connect to[]:25: Connection timed out
postfix/smtp[8423]: connect to[]:25: Connection timed out

I haven't been able to find a way to force relay to 465. Or maybe I shouldn't have relay on at all and do this another way?

View 1 Replies View Related

Using Postfix As An SMTP Gateway

Nov 14, 2007

I have been trying to determine if I should use Postfix or Exim for our new SMTP gateway. My biggest obstacle is in trying to determine if Postfix can handle the processing as efficiently as Exim.

Basically we have hundreds of domains that will have email going through the gateway. I need to know if Postfix can be configured to perform different actions based on the recipient domain (i.e. block receipt of message or add a header and deliver). It looks like this functionality is handled by using a 3rd party tool like "amavisd".

The problem is that it looks like I have to wait for the DATA to be received before I can send the mail to the filtering tool rather than just waiting until the last RCPT command. It is also unclear as to whether the message will be denied during delivery with a 550 error being returned or whether the message is accepted and a postmaster message is sent. Obviously I would prefer the 550 error.

View 1 Replies View Related

SMTP Relay Attack!

Jun 27, 2008

I have a cPanel server with CSF installed.

Today I face a problem having SMTP Relay attack

I Enabled SMTP Tweak inside WHM and it prevent the relays

But I am still seeing a huge attack inside my exim_mainlog through one of the domain hosting in the server.

I Delete the domain DNS zone, Change the domain name server, it still doesn't stop the attack. How do I go with this? Need help for those experienced in this... [] F=<> rejected RCPT <>: [] is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.

View 2 Replies View Related

SMTP Relay Service ...

Oct 9, 2009

I'm searching for a smtp service that lets me send email from several different emails (domains), lets me connect to non standard port numbers, and which is not banned/do not accept spam.

View 7 Replies View Related

SMTP Relay Service

Jun 17, 2007

Anyone know of a good place to do SMTP relaying through?

We have legitimate clean email that we need to send for my site that gets filtered as junk mail for the major free email services (Hotmail, Yahoo mail, AOL mail, etc.). Unfortunatley it is legitimate email that needs to get through to the end user to register their account.

Right now we use the free 250 smtp relays per day that come with our free GoDaddy hosting account but we are quickly approaching the need to send more than 250 a day and GoDaddy charges a healthy amount for more than 250 a day.

Anyone know of a good economical SMTP relay service?

View 12 Replies View Related

Reached SMTP Relay Limit

Jun 11, 2008

GoDaddy says: "You have reached your current SMTP relay limit of 1000 per day on the following hosting account" But they assigned a limit of 1,000 -- and i don't use SMTP relay at all. I have set up my active email accounts to use Google SMTP. When I tell GoDaddy about this, they tell me it is my responsibility. So what do i do?

View 2 Replies View Related

How To Change My Mail SMTP Relay Ip ?

Jul 23, 2008

I m using cpanel and exim 4 and my server ip is black list. Now i want to change my server ip address.

How can i do this?

I have edited exim.conf

driver = smtp
interface =

But it is not working please guide me any other way.

View 2 Replies View Related

How To Stop SMTP Relay Attack

Mar 24, 2009

Server - Windows 2003, IIS, Windows Mail

I am undergoing heavy SMTP attack, if i accept all connections in RELAY setting of SMTP
If i grant access only to Server IP, then attack stops, but all emails send, start bouncing back to me, as relay failed.

View 6 Replies View Related

How To Change Smtp Relay Ip For Exim

Jan 14, 2007

to change ip for smtp relay. I need to use a separate ip to send all the emails from my server.

View 6 Replies View Related

Plesk 11.x / Linux :: Postfix Smtp Delay

Jun 17, 2014

I've a problem with a server with Postfix. Emails (smtp) are refused by an operator because there is too many mail sent in a few moment.

With Qmail, we make this config :

1) we create file concurrencyremote
# vi /var/qmail/control/concurrencyremote
with the value 3

2) we restart Qmail and it's ok

With Postfix, we make that :

1) we modify the file /etc/postfix/
default_destination_concurrency_limit = 3

2) In /etc/postfix/transport : slow ; slow ; slow ; slow ; slow ; slow ; slow ; slow ; slow ;

3) After :
#postmap /etc/postfix/transport

4) In /etc/postfix/ :
slow unix - - n - 5 smtp -o syslog_name=postfix-slow -o smtp_destination_concurrency_limit=3 -o slow_destination_rate_delay=1

5) In /etc/postfix/ :
slow_destination_recipient_limit = 20
slow_destination_concurrency_limit = 3

And we modify :
transport_maps = hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport

6) At the end :
# /etc/init.d/postfix reload

But it doesn't work. Operator "Orange" refused emails.

In maillog, we have :
dsn=4.3.0, status=deferred (mail transport unavailable)

View 3 Replies View Related

Antivirus Solution For Smtp Relay Server

Mar 31, 2008

I have a dedicated windows 2003 server that acts as an smtp relay (legit purposes, not open).

There are large amounts of mail relayed through the server and I would like to install some 3rd party software that can scan the messages/attachments for viruses.

Ideally, if one exists it strips it from the message and notifies the recipient and/or sender of the problem.

any ideas on where to start?

View 4 Replies View Related

Qmail Or Sendmail Or Postfix With WHM Other Than Exim Mail SMTP

Apr 21, 2008

Can i use Qmail or Sendmail or Postfix with WHM other than exim mail SMTP.

View 1 Replies View Related

Plesk 11.x / Linux :: SMTP Server (Postfix) Keep Stopping

Nov 27, 2014

Plesk 11.5 Lunix
Centos 5.6

I am having problem sending email. Email from others came in but when sent from the server it does not arrived.

SMTP Server (Postfix) keep stopping...

View 11 Replies View Related

Plesk 12.x / Linux :: Do Not Send Email Via SMTP POSTFIX By Php Scripts?

Mar 7, 2015

The problem is, can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. The problem was lapping Plesk 11.5 via 587 port. That was timeout connection or authorization error with the correct settings. Mail may be sent, sometimes not. No longer working than working. At the same time when working with e-mail clients(example, The Bat) work fine. In Plesk 12 same problem. Port 465 - e-mail clients(example, The Bat) work fine. But can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. When using Cpanel with Exim - all work perfect. But the Plesk e-mail with Postfix - constant problems.

View 4 Replies View Related

Plesk 11.x / Linux :: Postfix Smtp SASL Authentication Failure

Jan 24, 2013

I have a new Plesk 11.0.9. #34 server with Centos 6.3 64bit.

I made a few changes in order to be PCI Compliant.

I created a domain and try to send email with no luck.

Jan 24 16:01:28 server7 pop3d-ssl: Connection, ip=[::ffff:X.X.X.X]
Jan 24 16:01:34 server7 pop3d-ssl: IMAP connect from @ [::ffff:X.X.X.X]ERR: LOGIN FAILED, ip=[::ffff:X.X.X.X]
Jan 24 16:01:34 server7 pop3d-ssl: Unexpected SSL connection shutdown.
Jan 24 16:01:48 server7 pop3d-ssl: Connection, ip=[::ffff:X.X.X.X]

[Code] ....

As you can see from the logs, the pop/imap connection is successful. I login to webmail with the username/password successfully. I can't send from Outlook/thunderbird etc.

Tried to rebuild emails with /usr/local/psa/admin/sbin/mchk --with-spam but no luck.

View 15 Replies View Related

Copyrights 2005-15, All rights reserved