HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   OT: Problems sending emails to gmail. I used postfix debian install (based falko) (

tuflipes 10th October 2006 20:32

OT: Problems sending emails to gmail. I used postfix debian install (based falko)
HI there,

Since we installed (or maybe gmail activated spam control) we have problems to send emails to :(

Its a real problem or us because some customers use gmail accounts. I have setup SPF records, ptr, and so. so don't know what could be wrong :(. Of course, i'm sure we don't send spam!. the only difference between our installation server and falko howto, we added maia mailguard to server.

I post you the message when we send email to gmail (of course we tried to contact gmail, and it's imposible, they ghave an autoresponse support and that's all, we dont get reply from human):

Asunto: Undelivered Mail Returned to Sender

This is the Postfix program at host

I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The Postfix program

<>: host[]
550-5.7.1 Our system has detected an unusual amount of unsolicited
550-5.7.1 mail originating from your IP address. To protect our
users from spam, mail sent from your IP address has been 550-5.7.1
rejected. Please visit 550-5.7.1 to review 550 5.7.1 our Bulk
Email Senders Guidelines. y18si783770hua (in reply to end of DATA

What could be wrong please? i searched in google for info, and many people have same problem :(

By the way our ip is no in blacklist, i checked it in dnstuff.

thanks for help

sjau 11th October 2006 09:16

no, from your IP there have been sent quite a number or spam to gmail... it seems people did complain and so you landed on the gmail blacklist....
Maybe you have an open relay server and someone is abusing it?

falko 11th October 2006 14:17

If you host your server on a dynamic IP address or DSL line, it is blacklisted almost automatically, no matter if you send spam or not.

If you have a static IP address, you should check your mail log if there''s much more email traffic than you expected, and you should also check your mailqueue with

postqueue -p
to see if there are lots of emails in it (which might be a sign that your server is abused by spammers).

Also, what's the output of

postconf -d | grep mynetworks
postconf -n | grep mynetworks


tuflipes 11th October 2006 21:27

sjau,as i asaid no blacklist, our users dont send spam :(

Falko, static IP , we have a range of IP's

It's a closed mail server with sasl auth.

# postqueue -p
Mail queue is empty

mailsrv0098:~# postconf -d | grep mynetworks
mynetworks = [::1]/128 [fe80::214:5eff:fe87:5489]/64
mynetworks_style = subnet
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,perm it_mx_backup_networks,qmqpd_authorized_clients,rel ay_domains,smtpd_access_maps
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
smtpd_client_connection_limit_exceptions = $mynetworks
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
mailsrv0098:~# postconf -n | grep mynetworks
mynetworks =
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

thanks for help dude.

falko 12th October 2006 18:29


Originally Posted by tuflipes
mynetworks =

Are you sure none of these systems is abusing your server for spam?
Did you check the known blacklists such as SORBS?

tuflipes 12th October 2006 18:53

re Flako, thanks for help

No one is of servers are doind spam. I added them because they are static ip adsl of customer and the server is only for this customer, server only has 2 domain, tecnoretail for testing pourposes and the customer domain , so i'm really sure no spam and i checked server logs and no spaming :(

any ideas? some one said me i have to check HELO, PTR , DNS and so, but i checked and i don't see nothing strange :(

I checked sorbs and many others and no blacklisted:

[] was not found in the SORBS database.


falko 12th October 2006 19:28

Did you visit this page?
Maybe one of your customers sent as newsletter which was reported as spam to Google... Anyway, I'd try to contact Google and find out what caused the problem.

tuflipes 12th October 2006 20:51


I tried contact google 5 times, its imposible :( they have an auto response and then they say each time i should to send emailes, and i sent 10 different examples and it' imposible,no answer from them. i have been contacting them during 1 month so it's imposible :(

I asked my customer if he sent a newsletter or something like that, and he said me no, i checked logs and no mailing list, no newsletter nothing masive :(

I checked the web page bulk in gmail, so i created spf records they recomend but same problem.


falko 13th October 2006 17:21

I've just checked your IP address here:
and it really seems to be ok. :confused:

tuflipes 13th October 2006 19:28

Yes, im no backlisted. well, thanks for help, i will have to redirect all to external smtp server to allow send emails to gmail :(

And... if some gmail admin is reading this psot, please, check your config because lot of people have same problem like me. :)

thanks for help.

All times are GMT +2. The time now is 06:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.