LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SSMTP and mailhub (https://www.linuxquestions.org/questions/linux-software-2/ssmtp-and-mailhub-413901/)

iskrem 02-10-2006 01:37 PM

SSMTP and mailhub
 
I have a question regarding SSMTP.

I have a domain eg. mydomain.com, and my mailserver is mydomain.com.

If I configure SSMTP (with ssmtp.conf) like this:
root=iskrem
mailhub=mail.mydomain.com
rewriteDomain=mydomain.com

The MX-record for mydomain.com points to myISP.mailserver.com

With this setup will I recieve the e-mail at iskrem@mydomain.com, or do I need to use the complete address iskrem@mydomain.com instead of just iskrem?

iskrem 02-10-2006 06:48 PM

The e-mail does come to me. But the messages are addressed to iskrem@myISP.mailserver.com. In the field "delievered to" it says: iskrem@mydomain.com, but in the "to field" it says iskrem@myISP.mailserver.com.

mail.mydomain resolves to myISP.mailserver.com, but I shouldn't get either mail.mydomain.com or myISP.mailserver.com as a to-address, but mydomain.com

Edit: This means that the TO field is wrong in the e-mail. But I still get it (because of delievered to).

Why is this?

iskrem 02-11-2006 09:45 AM

Has nobody noticed this when using SSMTP?


All times are GMT -5. The time now is 07:33 AM.