|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello all,
I am using Postfix as a mail relay to a mail server running Sendmail. I configured Postfix using documentation from the website freespamfilter.org. All is working fine, but I am having the following problem: Whenever someone sends an email to anyone else, with an address to my domain in the BCC field, the recipient (the To: in this case) gets 2 copies of the email. For instance, if I'm using Yahoo! mail and send an email To: <address@hotmail.com>, and Bcc: <address@mydomain.com>, the Hotmail account receives 2 copies of the message. The headers show that one message is from Yahoo and the other is from <mydomain>. I believe the problem may be on my Postfix server because if I send mail like this from the Sendmail server, the problem doesnt occur. I will eventually get rid of the Sendmail server, which will probably remove the problem altogether, but I need it currently. Hopefully, this is a simple fix. I'd appreciate any assistance you can offer, and, please be gentle; I am using Postfix because I think it is easier and better than Sendmail, but email servers is something I'm just starting to learn. Thanx. Here is my postconf output (domain/IP addrs changed to protect the innocent): alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases biff = no command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 empty_address_recipient = MAILER-DAEMON html_directory = no inet_interfaces = all local_recipient_maps = local_transport = local mail_owner = postfix mailbox_size_limit = 1000000000 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost mydomain = mydomain.com myhostname = mail.mydomain.com mynetworks = 192.168.0.0/8, ..., 127.0.0.0/8 myorigin = $myhostname newaliases_path = /usr/bin/newaliases.postfix notify_classes = protocol,resource,software queue_directory = /var/spool/postfix queue_minfree = 120000000 readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES relay_domains = hash:/etc/postfix/relay_domains sample_directory = /usr/share/doc/postfix-2.1.5/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_banner = $myhostname ESMTP smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient soft_bounce = yes transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/virtual transport: mydomain: smtp[<ip address of Sendmail server>] relay_domains: mydomain OK |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
linmail wrote:
I believe the problem may be on my Postfix server because if I send mail like this from the Sendmail server, the problem doesnt occur. Try sending from the Postfix server directly to the Internet, without relaying through the Sendmail server, and I bet the issue disappears. In other words, the Sendmail relay is probably doing it. -- Greg > Hello all, > I am using Postfix as a mail relay to a mail server running Sendmail. > I configured Postfix using documentation from the website > freespamfilter.org. All is working fine, but I am having the following > problem: > > Whenever someone sends an email to anyone else, with an address to my > domain in the BCC field, the recipient (the To: in this case) gets 2 > copies of the email. For instance, if I'm using Yahoo! mail and send an > email To: <address@hotmail.com>, and Bcc: <address@mydomain.com>, the > Hotmail account receives 2 copies of the message. The headers show that > one message is from Yahoo and the other is from <mydomain>. > > I believe the problem may be on my Postfix server because if I send > mail like this from the Sendmail server, the problem doesnt occur. I > will eventually get rid of the Sendmail server, which will probably > remove the problem altogether, but I need it currently. Hopefully, > this is a simple fix. I'd appreciate any assistance you can offer, and, > please be gentle; I am using Postfix because I think it is easier and > better than Sendmail, but email servers is something I'm just starting > to learn. Thanx. > > Here is my postconf output (domain/IP addrs changed to protect the > innocent): > alias_database = hash:/etc/aliases > alias_maps = hash:/etc/aliases > biff = no > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > empty_address_recipient = MAILER-DAEMON > html_directory = no > inet_interfaces = all > local_recipient_maps = > local_transport = local > mail_owner = postfix > mailbox_size_limit = 1000000000 > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > mydestination = $myhostname, localhost.$mydomain, localhost > mydomain = mydomain.com > myhostname = mail.mydomain.com > mynetworks = 192.168.0.0/8, ..., 127.0.0.0/8 > myorigin = $myhostname > newaliases_path = /usr/bin/newaliases.postfix > notify_classes = protocol,resource,software > queue_directory = /var/spool/postfix > queue_minfree = 120000000 > readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES > relay_domains = hash:/etc/postfix/relay_domains > sample_directory = /usr/share/doc/postfix-2.1.5/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > smtpd_banner = $myhostname ESMTP > smtpd_recipient_restrictions = permit_mynetworks, > reject_unauth_destination, > reject_non_fqdn_recipient > soft_bounce = yes > transport_maps = hash:/etc/postfix/transport > unknown_local_recipient_reject_code = 550 > virtual_alias_maps = hash:/etc/postfix/virtual > > transport: > mydomain: smtp[<ip address of Sendmail server>] > > relay_domains: > mydomain OK > |
|
![]() |
| Outils de la discussion | |
|
|