Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

smtp-auth for specific server

0 views
Skip to first unread message

peter pilsl

unread,
Oct 29, 2009, 6:36:26 PM10/29/09
to

I've sendmail configured as mx-server for several domains we host and as
relay for our customers.

Now some of our customers have some mail2fax-solutions at a 3rd-party
company. The fax are sent by simply sending an mail with the fax-pdf
attached to the 3rd-party smtp-server which requires smtp-auth (of
course !!)

for it would be much easier if they can send all mails including the
mail2fax-mails over our standard mail-relay I was trying to configure
our sendmail so that it does smtp-auth when it sends an email to this
specific smtp-server.

So I added to my sendmail.mc:

define(`confDEF_AUTH_INFO', `/etc/mail/authinfo')


and in authinfo I put one line:

AuthInfo:faxsmtp.at "U:myuser" "P:mypass"

and then I created the authinfo.db with "makemap hash" and reloaded
sendmail but it didnt work.

When sending mails I just get "mail cannot be delivered : you must login
first".

What am I doing wrong? Or where can I start looking about what I'm
doing wrong. in mail.info I dont get any sign that sendmail does
smtp-auth against this host at all so I wonder if I get the idea of
authinfo right after all.


The second step would be to find out if there is any way of letting
sendmail sending different authinfo depending on the sender-adresse, but
I guess thats to complex to have it done by sendmail. I would need to do
some smtp-proxy in that case that could also solve my first problem but
I would try to let sendmail do the smtp-auth-work if possible.

thnx,
peter

Andrzej Adam Filip

unread,
Oct 30, 2009, 1:13:32 PM10/30/09
to

Send test message (as root) in verbose mode with DNS and map lookups
tracking.

(echo subject: test; echo)| sendmail -Am -v -d60.5 -d 8.20 -- no-suc...@faxsmtp.at

There are *many* possible causes starting from rewriting of DNS CNAMEs
ending at SMTP AUTH method not supported by your sendmail. The above
command should allow you to narrow possible suspects.

--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com
One of the most overlooked advantages to computers is... If they do
foul up, there's no law against whacking them around a little.
-- Joe Martin

0 new messages