brucehohl
08-29-2003, 11:07 AM
PLEASE NOTE EDITED FROM ORIGINAL POST since I found that I failed to set "Accept remote SMTP connections = yes" in /etc/sysconfig/mail.
I have SuSE 8.1 and both Postfix and KMail are installed. I am able to send and receive internal mail to myself. For example mail sent to "user@localhost" reaches the KMail inbox as "user@host.domain". I am also able to send mail to the external network (internet). for example I can sent mail to my yahoo account. I can not receive mail from the internet - for example from my yahoo account. Incoming mail from the internet gets bounced. Port 25 on the firewall is open.
Here's what I've done:
I used www.ods.org to create subdomain <my subdomain>.ods.org linked to my dynamic IP. This part appears to work because I can access my webserver from the internet using <my subdomain>.ods.org.
When I send e-mail to user@<my subdomain>.ods.org the following is logged by the firewall and postfix:
/var/log/messages
kernel: SuSE-FW-ACCEPT IN=eth0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=xx.xx.xx.xx DST=<my IP address> LEN=48 TOS=0x00 PREC=0x00 TTL=114 ID=38537 DF PROTO=TCP SPT=2240 DPT=25 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204056401010402)
/var/log/mail
postfix/smtpd[8850]: connect from unknown[64.63.192.242]
postfix/smtpd[8850]: 9F908200B2: client=unknown[64.63.192.242]
postfix/smtpd[8850]: reject: RCPT from unknown[64.63.192.242]: 554 <user>@<my subdomain>.ods.org>: Recipient address rejected: Relay access denied; from=<user@access-4-free.com> to=<user@my subdomain.ods.org>
postfix/smtpd[8850]: lost connection after RSET from unknown[64.63.192.242]
postfix/smtpd[8850]: disconnect from unknown[64.63.192.242]
It looks like I may need to add <mysubdomain>.ods.org to /etc/sysconfig/postfix under one of the following:
POSTFIX_RELAYHOST=""
POSTFIX_LOCALDOMAINS=""
I will try it both ways. If anyone can confirm or knows this is incorrect please let me know. Thanks.
I have SuSE 8.1 and both Postfix and KMail are installed. I am able to send and receive internal mail to myself. For example mail sent to "user@localhost" reaches the KMail inbox as "user@host.domain". I am also able to send mail to the external network (internet). for example I can sent mail to my yahoo account. I can not receive mail from the internet - for example from my yahoo account. Incoming mail from the internet gets bounced. Port 25 on the firewall is open.
Here's what I've done:
I used www.ods.org to create subdomain <my subdomain>.ods.org linked to my dynamic IP. This part appears to work because I can access my webserver from the internet using <my subdomain>.ods.org.
When I send e-mail to user@<my subdomain>.ods.org the following is logged by the firewall and postfix:
/var/log/messages
kernel: SuSE-FW-ACCEPT IN=eth0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=xx.xx.xx.xx DST=<my IP address> LEN=48 TOS=0x00 PREC=0x00 TTL=114 ID=38537 DF PROTO=TCP SPT=2240 DPT=25 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204056401010402)
/var/log/mail
postfix/smtpd[8850]: connect from unknown[64.63.192.242]
postfix/smtpd[8850]: 9F908200B2: client=unknown[64.63.192.242]
postfix/smtpd[8850]: reject: RCPT from unknown[64.63.192.242]: 554 <user>@<my subdomain>.ods.org>: Recipient address rejected: Relay access denied; from=<user@access-4-free.com> to=<user@my subdomain.ods.org>
postfix/smtpd[8850]: lost connection after RSET from unknown[64.63.192.242]
postfix/smtpd[8850]: disconnect from unknown[64.63.192.242]
It looks like I may need to add <mysubdomain>.ods.org to /etc/sysconfig/postfix under one of the following:
POSTFIX_RELAYHOST=""
POSTFIX_LOCALDOMAINS=""
I will try it both ways. If anyone can confirm or knows this is incorrect please let me know. Thanks.