From: Jeffs on
I have a setup with one qualified domain name, i.e., example.com on one
ubuntu server running postfix 2.5.5

I now need to have this setup send and receive mail for another_domain.com

I have successfully set up the sending and receiving, however all mail
from this secondary domain is seen as spam, whereas all mail from the
primary domain is never seen as spam. I'm wondering what I might be
doing wrong, or if indeed this even is a postfix issue? I would
appreciate it if someone could eyeball my main.cf file below and see if
there are any security issues with the setup and if anything might be
accountable for this spam issue.

Thanks in advance.

Any help much appreciated. main.cf follows:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname =example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = example.com, other_domain.com, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
mailbox_command =
#always_bcc = user(a)example.com
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
inet_protocols = allsmtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8892
non_smtpd_milters = inet:localhost:8892

From: Noel Jones on
On 5/10/2010 12:50 PM, Jeffs wrote:
> I have a setup with one qualified domain name, i.e., example.com on one
> ubuntu server running postfix 2.5.5
>
> I now need to have this setup send and receive mail for another_domain.com
>
> I have successfully set up the sending and receiving, however all mail
> from this secondary domain is seen as spam, whereas all mail from the
> primary domain is never seen as spam. I'm wondering what I might be
> doing wrong, or if indeed this even is a postfix issue? I would
> appreciate it if someone could eyeball my main.cf file below and see if
> there are any security issues with the setup and if anything might be
> accountable for this spam issue.


Not a postfix issue. You'll need to check with the receiving
party to find out why they mark your mail as spam.


-- Noel Jones

From: Ansgar Wiechers on
On 2010-05-10 Jeffs wrote:
> I have a setup with one qualified domain name, i.e., example.com on
> one ubuntu server running postfix 2.5.5
>
> I now need to have this setup send and receive mail for
> another_domain.com
>
> I have successfully set up the sending and receiving, however all mail
> from this secondary domain is seen as spam, whereas all mail from the
> primary domain is never seen as spam.

By whom?

> I'm wondering what I might be doing wrong, or if indeed this even is
> a postfix issue?

If someone else's mail system classifies mail from user(a)other_domain.com
as spam, then this has nothing to do with your Postfix. It may be
related to your DNS setup, though.

Regards
Ansgar Wiechers
--
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky