LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-12-2011, 11:00 AM   #1
sburnay
LQ Newbie
 
Registered: Sep 2011
Location: Lisbon, Portugal
Distribution: Ubuntu, CentOS & SUSE
Posts: 26

Rep: Reputation: Disabled
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
 
Old 09-12-2011, 12:13 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
Old 09-12-2011, 12:30 PM   #3
sburnay
LQ Newbie
 
Registered: Sep 2011
Location: Lisbon, Portugal
Distribution: Ubuntu, CentOS & SUSE
Posts: 26

Original Poster
Rep: Reputation: Disabled
OK, I'll look into it,

But I've already ran a
Code:
'grep -i -r '@example.com' /*
and found nothing.

Gotta keep searching
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix sends mail to SPAM in gemail (CentOS) zahirw Linux - Server 1 04-26-2011 11:09 AM
My email server sends mails but does not receive hubergeek Linux - Networking 2 07-14-2010 08:27 AM
How to Sync Postfix Sent Mails in different email Clients farrukhndm Linux - Server 7 09-03-2008 04:02 AM
Blocking mails from specific email addresses/domains in postfix jomy Linux - Networking 1 07-15-2008 08:32 PM
how to restrict a user to send mails only to 3 email IDs in postfix mail server sharath41 Linux - Server 1 07-04-2008 03:40 PM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration