Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

can't send mail via iphone - blocked by zen.spamhaus.org

can anyone help me figure this one out...

I can send / receive email fine through my server from my desktop machine on a network, but when I try to send email from my iPhone via the 3G network my server blocks me using zen.spamhaus.org

this is the output from a postconf -n



allow untrustedrouting = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug peerlevel = 2
delay warningtime = 6h
disable vrfycommand = yes
enable serveroptions = yes
fast flushdomains = $relay_domains
html_directory = no
inet_interfaces = all
local recipientmaps = proxy:unix:passwd.byname $alias_maps
luser_relay =
mail_owner = postfix
mailbox sizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps rbldomains =
maximal queuelifetime = 5d
message sizelimit = 0
mydestination = $myhostname,localhost.$mydomain,localhost
mydomain = kiwi.newzealand.co.nz
mydomain_fallback = localhost
myhostname = smtp.newzealand.co.nz
mynetworks = 127.0.0.1/32,192.168.1.0/24
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd clientrestrictions = permit saslauthenticated permit_mynetworks reject rblclient zen.spamhaus.org permit
smtpd datarestrictions = permit saslauthenticated, permit_mynetworks, reject unauthpipelining, permit
smtpd delayreject = no
smtpd error_sleeptime = 1s
smtpd hard_errorlimit = 20
smtpd helorequired = yes
smtpd helorestrictions = permit saslauthenticated, permit_mynetworks, check heloaccess hash:/etc/postfix/helo_access, reject non_fqdnhostname, reject invalidhostname, permit
smtpd pw_server_securityoptions = login,plain,cram-md5
smtpd recipientrestrictions = permit saslauthenticated, reject invalidhostname, reject non_fqdnsender, reject non_fqdnrecipient, permit_mynetworks, reject unauthdestination, reject unlistedrecipient, reject rblclient sbl-xbl.spamhaus.org, reject rblclient smtp.dnsbl.sorbs.net, permit
smtpd sasl_authenable = yes
smtpd senderrestrictions = permit saslauthenticated, permit_mynetworks, reject non_fqdnsender, permit
smtpd soft_errorlimit = 10
smtpd tlsCAfile = /etc/certificates/secure.newzealand.co.nz.chcrt
smtpd tls_certfile = /etc/certificates/Default.crt
smtpd tls_keyfile = /etc/certificates/Default.key
smtpd use_pwserver = yes
smtpd usetls = no
unknown local_recipient_rejectcode = 550
virtual aliasdomains = hash:/etc/postfix/virtual_domains
virtual aliasmaps = hash:/etc/postfix/virtual
virtual mailboxdomains = hash:/etc/postfix/virtual domainsdummy
virtual_transport = lmtp:unix:/var/imap/socket/lmtp

Dual G5 Xserve, Mac OS X (10.4.11)

Posted on Oct 22, 2009 9:25 PM

Reply
26 replies

Oct 26, 2009 5:01 AM in response to reganyelcich

as soon as I get rid of:
zen.spamhaus.org
and replace it with:
sbl-xbl.spamhaus.org
smtp.dnsbl.sorbs.net
the iphone and desktop machine connect and send ok.
So it appears that the "permit saslauthenticated" option is ignored when I've got "zen.spamhaus.org" set in the junk mail rejection servers.


No, it simply means that the IP in question is not on the other RBLs.

As jaydisc pointed out, you are not authenticating when sending.

Oct 28, 2009 1:11 PM in response to pterobyte

Thanks to jaydisc for helping to solve this one.

The problem was on the server side. There was some authentication confusion happening between the various restrictions directives, so to tidy things up the restrictions have been limited to be within smtpd recipientrestrictions and smtpd datarestrictions only, along with those in master.cf as outlined above.

As soon as the changes were done both the iphone and desktop machine authenticated fine. 🙂

can't send mail via iphone - blocked by zen.spamhaus.org

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.