postfix-users January 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Unable To Send Email

Re: Unable To Send Email

From: Gary Chambers <gwchamb_at_nospam>
Date: Wed Jan 12 2011 - 15:51:26 GMT
To: <postfix-users@postfix.org>

>> My Postfix server wont allow SMTP from my web server (running
>> RoundCube webmail) which happens to be on the same network / subnet
>> as
>> my Postfix mail server. My mail server is running only Postfix &
>> Dovecot while my web server has Apache, RoundCube, & PostgreSQL
>> installed:
>>
>> mail = 192.168.0.200/24
>> web = 192.168.0.201/24
>>
>> My Postfix configuration is set to allow anyone in 'mynetworks' to
>> send mail so I don't understand why my web server gets an error
>> (SMTP
>> Error (250) Authentication Failure). Below is my
>> /etc/postfix/mynetworks file contents:
>
> That error is not a Postfix error message.
>
> Authentication usually refers to SASL and I see no SASL in your
> config
> below.
>
> This sounds like a sending application misconfiguration.

 This is definitely not a Postfix problem. For the record, the OP needs
 to choose whether or not they wish to authenticate (via submission (587)
 or SMTPS (465)) or send mail with plain SMTP. To fix the problem as
 described by the OP:

 $rcmail_config['smtp_user'] = '';
 $rcmail_config['smtp_pass'] = '';

 IOW, the OP's system is configured to try to use authentication on a
 plain SMTP session.

 -- Gary Chambers