LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Relay from POP3 account (https://www.linuxquestions.org/questions/linux-software-2/relay-from-pop3-account-99368/)

BeerBust 10-02-2003 07:45 AM

Relay from POP3 account
 
Hi

I'm running RH9 and a Postfix installation. Postfix runs local mail fine both to internal and external users. From an external account (say my-mail@hotmail.com) it i possible to make a reply direct to a local users (obviously).

My problem is when I'm connecting from an external POP3 reader. I'm able to read my local mail and able to send to local users (specifying username@domain.tld) but when replying to a mail received from an external domain or sending to external users, I get the 554 message.


My maillog :
ipop3d[8155]: pop3 service init from <EXT-IPADDR>
ipop3d[8155]: Login user=jeo host=[<EXT-IPADDR>] nmsgs=0/0
ipop3d[8155]: Logout user=jeo host=[<EXT-IPADDR>] nmsgs=0 ndele=0

postfix/smtpd[8156]: connect from unknown[<EXT-IPADDR>]
postfix/smtpd[8156]: 55A79235B3: client=unknown[<EXT-IPADDR>]

postfix/smtpd[8156]: reject: RCPT from unknown[<EXT-IPADDR>]: 554 <recipient@ext-domain.tld>: Recipient address rejected: Relay access denied; from=<jeo@my-domain.tld> to=<recipient@ext-domain.tld>

postfix/smtpd[8156]: disconnect from unknown[<EXT-IPADDR>]

ipop3d[8158]: pop3 service init from <EXT-IPADDR>
ipop3d[8158]: Login user=jeo host=
[<EXT-IPADDR>] nmsgs=0/0
ipop3d[8158]: Logout user=jeo host=[<EXT-IPADDR>] nmsgs=0 ndele=0


Postconf -n:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain
myhostname = mail.name-of-my-domain.tld
mynetworks = subnet
myorigin = name-of-my-domain.tld
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop


Hope someone can help!!
JeO
:Pengy:

jailbait 10-02-2003 08:12 PM

You may have run afoul of some ISP's anti spam campaign. Some ISPs will only accept email from an account on the originating ISP. In other words if your ISP is abc.com then myaccount@abc.com is an acceptable originating address but myotheraccount@xyz.com is rejected.

You can check whether this is your problem by sending from myotheraccount@xyz.com to various addresses and see if some will accept them and others will not.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 11:35 PM.