Hi,

DNS resolving is not the problem I think. I tried to setup a connection to the 
smtp server of my ISP using telnet and I get a connection. But when I send
MAIL FROM: <te...@home.lan>
RCPT TO: <eelko...@gmail.com>
I get the response that sender's domain is not recognized. For the SMTP server 
of my ISP this is true. So obviously I need a sender address with a valid 
domain name, at least the remote smtp server must know the domain.
Is it possible to let XMail alter the from address into a valid address? I 
tried to add records in the FILTERS.POST-RCPT.TAB file with the command 
"/bin/cp $(FILE) /tmp/$(FILE).tmp", just to see if the outgoing message was 
copied to the tmp directory. But nothing happened. 
I also added same command to the filters.post-data.tab and filters.pre-data.tab 
files. No result so far. (Yes I restarted the xmail process)


Eelko



Op 18 jun. 2012, om 00:06 heeft Ivo Smits het volgende geschreven:

> Hi Eelko,
> 
> XMail does normally forward non-local e-mails to external SMTP servers. A 
> more likely cause of your problem is that your ISP is blocking outbound 
> access to SMTP ports to prevent spam. Try this: "telnet smtp.gmail.com smtp", 
> if that doesn't connect, that's your problem. If it does connect, your 
> internet IP address is likely to be on "dynamic IP" blacklists, so your mail 
> could easily disappear in spamfilters. A solution could be to configure your 
> ISP's smtp server as a "smart host" ("DefaultSMTPGateways") in XMail.
> 
> Ivo
> 
> Op 17-6-2012 19:45, Eelko schreef:
>> Hello,
>> 
>> I have a question about the configuration of XMail. I setup the XMail server 
>> for the domain home.lan. I created some users (eg. te...@home.lan and 
>> te...@home.lan) and I am able to send emails between these accounts. Now I 
>> wanna send an email from one of these test account to some internet email 
>> address, let's say my gmail account. Unfortunately XMail doesn't 
>> automatically forward the email to the gmail smtp server. How can I 
>> accomplish that XMail forward all email which cannot be delivered locally?
>> 
>> BTW, the server can access the Internet and "nslookup smtp.gmail.com" gives 
>> a valid answer.
>> 
>> 
>> Any suggestions are welcome.
>> 
>> Thanks in advance,
>> Eelko.
>> _______________________________________________
>> xmail mailing list
>> xmail@xmailserver.org
>> http://xmailserver.org/mailman/listinfo/xmail
>> 
> _______________________________________________
> xmail mailing list
> xmail@xmailserver.org
> http://xmailserver.org/mailman/listinfo/xmail

_______________________________________________
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to