#1  
Old 21st January 2007, 13:00
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 413
Thanks: 30
Thanked 0 Times in 0 Posts
Default Relaying

How do I check to see if people are relaying mail from my server? I'm getting a lot of emails returned that I never sent.
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2007, 14:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You can check your server with e.g. the following tool, if its a open relay:

http://www.abuse.net/relay.html

Please post also the output of the command:

Quote:
postconf | grep mynetworks
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st January 2007, 20:05
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 413
Thanks: 30
Thanked 0 Times in 0 Posts
Default

According to the site, all relay is denied.

Code:
mynetworks = 127.0.0.0/8 172.16.10.0/24 [::1]/128 [fe80::205:5dff:fe4e:1558]/64 
mynetworks_style = subnet
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_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_client_restrictions = permit_mynetworks, reject_unknown_client
smtpd_helo_restrictions = permit_mynetworks, check_helo_access hash:/etc/postfix/access, reject_invalid_hostname, permit
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
Reply With Quote
  #4  
Old 21st January 2007, 20:12
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Could it be a 'joe-job'? Meaning your e-mail address is abused as the sender of spam and all the bounces are as such directed to you. Look at the headers of the emails (bounces?) you get. Tracing which systems are used might give you an indication.
Reply With Quote
  #5  
Old 21st January 2007, 22:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please add the line:

mynetworks = 127.0.0.0/8

to the file /etc/postfix/main.cf and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 9th July 2009, 20:28
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 413
Thanks: 30
Thanked 0 Times in 0 Posts
Default

I'm getting emails from a person whose mail I host -- mail that he's not sending. I did "postconf | grep mynetworks" and got the following:

Code:
# postconf | grep mynetworks
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_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_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks}
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
Reply With Quote
  #7  
Old 10th July 2009, 10:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

Quote:
I'm getting emails from a person whose mail I host -- mail that he's not sending.
This is very common for spammers. This does not mean that the email was send trough your server. Spammers often use faked sender addresses.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (mail not relaying) RinoM1 Server Operation 1 12th November 2006 15:31
Postfix Mail relaying config Fedora 4 fatlip HOWTO-Related Questions 5 5th August 2006 21:35
Mail Relaying andy2605 Installation/Configuration 3 5th July 2006 11:43
Relaying Thru Postfix maxhub Server Operation 4 21st June 2006 01:33
Relaying mail to normal mailserver trigar Installation/Configuration 7 7th June 2006 15:56


All times are GMT +2. The time now is 09:23.


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