|
Prev: Courier-Maildrop and Ldap
Next: Trying ro reinstall a package (matrixsa) but fails on dependancies - postfix
From: Advo on 11 Oct 2006 10:28 Hi there. I've been following a tutorial here: http://www.freespamfilter.org/FC4.html#_Toc110999175 and have come to the stage where ive got to test postfix. his instructions say: ########################## postfix start telnet <your server's IP> 25 helo 10.10.10.10 Put your IP instead mail from:test(a)gmail.com You can use your Hotmail/Gmail address here rcpt to: you(a)yourdomain.com ############################ this is where i get the issue. As son as i do: rcpt to: you(a)yourdomain.com (tried a few aswell) i just get: 504 5.5.2 <comp ip>: Helo command rejected: need fully-qualified hostname any ideas please?
From: Advo on 11 Oct 2006 11:10 Advo wrote: > Hi there. I've been following a tutorial here: > http://www.freespamfilter.org/FC4.html#_Toc110999175 and have come to > the stage where ive got to test postfix. > > his instructions say: > ########################## > postfix start > > telnet <your server's IP> 25 > > helo 10.10.10.10 Put your IP instead > > mail from:test(a)gmail.com You can use your Hotmail/Gmail address > here > > rcpt to: you(a)yourdomain.com > > ############################ > > this is where i get the issue. As son as i do: > > rcpt to: you(a)yourdomain.com (tried a few aswell) i just get: > > 504 5.5.2 <comp ip>: Helo command rejected: need fully-qualified > hostname > > any ideas please? instead of doing helo IP i did help hostname i didnt get the same error, but got this error: 554 5.7.1 <root(a)mydomain>: Relay access denied any ideas?
From: MikeDawg on 11 Oct 2006 11:47 Advo wrote: > Advo wrote: > > Hi there. I've been following a tutorial here: > > http://www.freespamfilter.org/FC4.html#_Toc110999175 and have come to > > the stage where ive got to test postfix. > > > > his instructions say: > > ########################## > > postfix start > > > > telnet <your server's IP> 25 > > > > helo 10.10.10.10 Put your IP instead > > > > mail from:test(a)gmail.com You can use your Hotmail/Gmail address > > here > > > > rcpt to: you(a)yourdomain.com > > > > ############################ > > > > this is where i get the issue. As son as i do: > > > > rcpt to: you(a)yourdomain.com (tried a few aswell) i just get: > > > > 504 5.5.2 <comp ip>: Helo command rejected: need fully-qualified > > hostname > > > > any ideas please? > > instead of doing helo IP i did help hostname > > i didnt get the same error, but got this error: > > 554 5.7.1 <root(a)mydomain>: Relay access denied > > any ideas? Give us an output of your configuration. More specifically, what is your $mydomain set to in main.cf?
From: Advo on 12 Oct 2006 05:01
MikeDawg wrote: > Advo wrote: > > Advo wrote: > > > Hi there. I've been following a tutorial here: > > > http://www.freespamfilter.org/FC4.html#_Toc110999175 and have come to > > > the stage where ive got to test postfix. > > > > > > his instructions say: > > > ########################## > > > postfix start > > > > > > telnet <your server's IP> 25 > > > > > > helo 10.10.10.10 Put your IP instead > > > > > > mail from:test(a)gmail.com You can use your Hotmail/Gmail address > > > here > > > > > > rcpt to: you(a)yourdomain.com > > > > > > ############################ > > > > > > this is where i get the issue. As son as i do: > > > > > > rcpt to: you(a)yourdomain.com (tried a few aswell) i just get: > > > > > > 504 5.5.2 <comp ip>: Helo command rejected: need fully-qualified > > > hostname > > > > > > any ideas please? > > > > instead of doing helo IP i did help hostname > > > > i didnt get the same error, but got this error: > > > > 554 5.7.1 <root(a)mydomain>: Relay access denied > > > > any ideas? > > Give us an output of your configuration. More specifically, what is > your $mydomain set to in main.cf? Heres the config output: ############################# MAIN.CF myhostname = a1domain.co.uk mydomain = a1domain.co.uk myorigin = $mydomain mydestination = local_recipient_maps = mynetworks = SERVERIP relay_domains = $mydomain message_size_limit = 10485760 transport_maps = hash:/etc/postfix/transport smtpd_helo_required = yes disable_vrfy_command = yes virtual_alias_maps = hash:/etc/postfix/virtual alias_maps = hash:/etc/aliases recipient_delimeter = smtpd_client_restrictions = check_client_access hash:/etc/postfix/client_access, reject_rbl_client sbl.spamhaus.org, reject_rbl_client relays.ordb.org, reject_rbl_client opm.blitzed.org, reject_rbl_client list.dsbl.org,reject_rbl_client cbl.abuseat.org, reject_rbl_client dul.dnsbl.sorbs.net, reject_rbl_client dun.dnsrbl.net smtpd_helo_restrictions = check_helo_access hash:/etc/postfix/helo_access,reject_invalid_hostname, reject_non_fqdn_hostname smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access,reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rhsbl_sender relays.ordb.org,reject_rhsbl_sender opm.blitzed.org, reject_rhsbl_sender dun.dnsrbl.net smtpd_recipient_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_mynetworks, reject_unauth_destination, check_recipient_access hash:/etc/postfix/recipient_access smtpd_data_restrictions = reject_unauth_pipelining ################################################ ################################################ MASTER.CF smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup -o content_filter= -o receive_override_option=no_header_body_checks cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil maildrop unix - n n - - pipe flags=DRhu user=daemon:mail argv=/usr/local/bin/maildrop -d ${recipient} old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} cyrus unix - n n - - pipe user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail.postfix ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient ############################################# Hope this provides a better explanation. Thanks for the time |