Hylton Conacher (ZR1HPC) wrote:
Carlos E. R. wrote:
No, your postfix uses the file "/etc/postfix/sasl_passwd" to decide what login/passwd to use. It contains lines like this:
mailhost.your.isp loginame:password
it means that, when talking to smtp server at "mailhost.your.isp", it must use the login/pass pair to the right. ISPs normally use the same password for everything (login, pop3, smtp, ftp...) just to save work. So provided the sasl login/password are correct the receiving SMTP server doesn't care what the details are in the FROM header? (The reeing SMTP server would not do authentication if it is the destination SMTP server).
Notice that if we had several users with accounts at that site, we would have problems... it is a server side configuration, not a users' configuration.
I don't understand why it would be a problem. If the SMTP server os configured with a certain SASL username/password, surely it doesn't matter which user sends mail to server (A)? Server A will connect at predetermined times to send its waiting mail and each user will not be able to force A to send if it is not connected.
That depends on the configuration of the receiving server. If the server is configured to only accept mails where the sender address matches the account that your postfix uses to authenticate to the isp mailserver then mails with a different sender address will be rejected.
Hylton Carlos Sandy Patrick | | | | ________________________________________________________ (A) OUR COMPANY SMTP SERVER ________________________________________________________ | ____________________ (B) Relay SMTP server ____________________ | ______________________________________________ (C) Destination SMTP server ______________________________________________
That would be the usual configuration when you are on a dynamic ip. Usually I am sending directly (not via relayhost). When I get rejected I tell my server to route mails for that domain via my isp relayhost. That relayhost ist fortunately NOT configured to reject mails based on the sender address. That is why I can use it without any problems. Though sometimes I might just give up and NOT answer at all if someone expects me to jump through hoops just to help him. (^-°) Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com