Hi Martin,

I'm trying following your instructions. I got the smtp of the ISP out of the SOGo config. I followed the instruction in the link you provided, creating a password file, and modifying the main.cf from postfix.

Restarted Postfix - no complains so far. Tried to send a mail and it got rejected:

to=<dco...@terra.es>, relay=mailhost.movistar.es[213.4.149.228]:25, delay=0.36, delays=0.05/0.01/0.26/0.05, dsn=5.1.0, status=bounced (host mailhost.movistar.es[213.4.149.228] said: 550 5.1.0 <dco...@solipym.com> sender rejected (in reply to MAIL FROM command))

The ISP SMTP server rejected the outgoing mail - I suppose because the domain does not corresponds.

I checked the SASL parameters in my main.cf file and I am a bit lost now... My initial sasl config relates to smtpd

smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes

without modifying it, the server cannot correctly authenticate, so I added what was in the example you provided:

smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd

now it says no 'No worthy mechs found' before rejecting the connection '(SASL authentication failed; cannot authenticate to server mailhost.movistar.es[213.4.149.228]: no mechanism available)'

Feb 4 12:01:45 solipym postfix/qmgr[2196]: 171B9E80A8D: from=<dco...@solipym.com>, size=959, nrcpt=1 (queue active) Feb 4 12:01:45 solipym postfix/smtp[2229]: warning: SASL authentication failure: No worthy mechs found Feb 4 12:01:45 solipym postfix/smtp[2229]: 171B9E80A8D: to=<dco...@terra.es>, relay=mailhost.movistar.es[213.4.149.228]:25, delay=546, delays=545/0.03/0.27/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server mailhost.movistar.es[213.4.149.228]: no mechanism available)

So I am going in the right direction, but still cannot resolve my problem. I know it is not 100% SOGo but I still appreciate the help.

I noticed that the sasl connections are done to smtpd in my initial setup and to smtp in the example. Being a bit lost with sasl any hint would be welcome.

Thanks,

Dominique

On 04/02/2011 10:19, Martin Rabl wrote:
Hi Dominique
Am 04.02.2011 10:04, schrieb Dominique:
OK, trying to make it work with the ISP... But I need to setup user and
password to the ISP's SMTP server. Could you spare a minute to tell me
> ...
On 04/02/2011 00:36, Brian Kirkman wrote:
Agreeing with Jeff, you should use the ISPs SMTP server, but I would
make the change at the MTA level. I'm used to using Sendmail as an

IMHO the better option is to use a local smtp-server on your SOGo-Server (only) for relaying to the ISP.

With Postfix you can set username/passwort to login to the ISPs smarthost.
For a possible setup have a look there:
http://www.dnsexit.com/support/mailrelay/postfix.html

And with this setup you have more possibilities handling your outgoing mails (filtering, rewrites etc.)



--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to