
feh at fehcom
Apr 2, 2013, 2:11 PM
Post #3 of 3
(282 views)
Permalink
|
Hi, Am 02.04.2013 um 22:25 schrieb Sikkandar Dulkaranai: > Hi, It is a great one. > > It will be a great help if you could add to your document on "How to test Smart relay or Smart host (if possible from command line) after everything is done as per your instructions". I thought, I did: http://www.fehcom.de/qmail/smtpauth.html##SETUP <--snip--> First: control/authsenders: eschmidt [at] google:gmail-smtp-in.l.google.com:587|E. Schmidt|topsecret Second control/smtproutes: gmail.com:gmail-smtp-in.l.google.com|myaccount|mypasswd <--snap--> From man qmail-remote: authsenders Authenticated sender. For each sender included in authsenders: sender:relay:port|user|password qmail-remote will try SMTP Authentication of type CRAM-MD5, LOGIN, or PLAIN with the provided user name user and password password (the authentication information) and eventually relay the mail through relay on port port. The use of relay and port follows the same rules as for smtproutes Note: In case sender is empty, qmail-remote will try to deliver each outgoing mail SMTP authenticated. If the authentication information is missing, the mail is delivered none-authenticated. authsenders can be constructed as follows: @example.com:relay.example.com|user|passwd info [at] example:relay.example.com:26|infouser|infopasswd :mailrelay.example.com|e=mc2|testpass smtproutes Artificial SMTP routes. Each route has the form domain:relay, or domain:relay|user|password without any extra spaces. If domain matches host, qmail-remote will connect to relay, as if host had relay as its only MX. (It will also avoid doing any CNAME lookups on recip.) host may include a colon and a port number to use instead of the normal SMTP port, 25. In case, a userid and password is present, qmail-remote will try a SMTP authenticated session: inside.af.mil:firewall.af.mil:26 :submission.myrelay.com:587|myuserid|mypasswd relay may be empty; this tells qmail-remote to look up MX records as usual. This is pretty straightforward. The username and password may include white spaces. regards. --eh. -- Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id: 7E4034BE
|