LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   CentOS - Postfix - sends mails to email@example.com (https://www.linuxquestions.org/questions/red-hat-31/centos-postfix-sends-mails-to-email%40example-com-902607/)

sburnay 09-12-2011 11:00 AM

CentOS - Postfix - sends mails to email@example.com
 
Hi,

Anyone had a bug with Postfix in which he sends mails to email@example.com eventhough that address doesn't show up in the configs?

I'm hoping this is a common and easy-to-fix issue

Here is part of my '/var/log/maillog'
Code:

Sep 12 00:23:07 MY-MACHINE postfix/qmgr[2826]: C67FBC50055: from=<root@MY-DOMAIN>, size=310, nrcpt=1 (queue active)
Sep 12 00:23:07 MY-MACHINE postfix/smtp[23211]: connect to example.com[192.0.43.10]: Connection refused (port 25)
Sep 12 00:23:07 MY-MACHINE postfix/smtp[23211]: C67FBC50055: to=<email@example.com>, relay=none, delay=206413, delays=206413/0.01/0.17/0, dsn=4.4.1, status=deferred (connect to example.com[192.0.43.10]: Connection refused)
Sep 12 01:29:47 MY-MACHINE postfix/qmgr[2826]: C67FBC50055: from=<root@MY-DOMAIN>, size=310, nrcpt=1 (queue active)

And here is my postconf:
Code:

-l (lock types)] [-m (map types)] [-n (non-defaults)] [-v] [name...]
[root@MY-MACHINE ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maps_rbl_domains = dnsbl.njabl.org                      bl.spamcop.net                  dnsbl.njabl.org
masquerade_domains = $mydomain
mydestination = MY-MACHINE.$mydomain
mydomain = MY-DOMAIN
myhostname = MY-MACHINE.MY-DOMAIN
mynetworks = 172.20.0.0/16
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = MY-DOMAIN
relay_recipient_maps =
relayhost =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = reject_rbl_client  bl.spamcop.net                          reject_rhsbl_client    dnsbl.njabl.org
smtpd_recipient_restrictions = permit_mynetworks                                reject_unauth_destination                              reject_rhsbl_recipient        bl.spamcop.net                          check_recipient_access          hash:/etc/postfix/access
smtpd_sender_restrictions = permit_mynetworks                          reject_rhsbl_sender dnsbl.njabl.org
unknown_local_recipient_reject_code = 550


bathory 09-12-2011 12:13 PM

Hi,

This is not a postfix bug. There should be an application (perhaps a web form), that is not configured correctly and it uses the default email@example.com to send mail out

Regards

sburnay 09-12-2011 12:30 PM

OK, I'll look into it,

But I've already ran a
Code:

'grep -i -r '@example.com' /*
and found nothing.

Gotta keep searching :(


All times are GMT -5. The time now is 02:33 AM.