11 msg(noob-newbie here) Configuring postfix to be us...
5 msg(No Subject)
3 msgWhen is 'for <recipient>'present in header?
2 msgclient does not detect mail
11 msgEmpty MAIL FROM
3 msgChange format of emails in active directory
3 msgLogging a message from within a restriction list
4 msgmailbox_transport_maps lookup key
10 msgmailbox_transport_maps problem
5 msgDefault value of unknown_address_reject_code
9 msgIssue with using LDAP for transport maps
4 msglimit max. used bandwith?
2 msgmaximum number of smtpd_restriction_classes
5 msg'transport_maps' getting ignored?
3 msgServer configuration problem
6 msgsmtpd_sasl_auth_enable is true, but SASL suppor...

Mail to local domains
\ Mikael Nehlsen (13 Apr 2007)
. \ mouss (13 Apr 2007)
. . \ Mikael Nehlsen (16 Apr 2007)

2 msgnonexistent virtual account received
13 msgHow to make postfix use one IP for receiving an...
3 msgldap search fails
Subject:Mail to local domains
Group:Postfix-users
From:Mikael Nehlsen
Date:13 Apr 2007


 
I have a server that I set up with postfix and cyrus using virtual
domains and that works wonderfully. But now I want the local domain to
work as well, for request tracker right now but also other stuff. The
problem is of course that virtual domains can't use the "|command" syntax.
My problem is that all mails I send to the localdomain (which only have
aliases in it) do not send on the mail to the destination, not to any
destination it just "hangs" on a queue active status like:

Apr 13 15:48:43 letter.sics.se postfix/smtpd[27737]: [ID 197553
mail.info] 5CCA2409C9: client=localhost[127.0.0.1]
Apr 13 15:48:47 letter.sics.se postfix/cleanup[27734]: [ID 197553
mail.info] 5CCA2409C9: message-id=<20070413134843.5CCA2409C9>
Apr 13 15:48:47 letter.sics.se postfix/qmgr[27484]: [ID 197553
mail.info] 5CCA2409C9: from=<joyride>, size=328, nrcpt=1 (queue
active)

This mail was sent to rt which is:

rt: "|/opt/csw/rt3/bin/rt-mailgate --queue general --action
correspond --url http://rt.sics.se/"

in the local aliases file. if I remove the alias I get a:

550 5.1.1 <rt>: Recipient address rejected: User unknown
in local recipient table

so the alias file is read at least. I also tried to forward the mail to
my address and I get the same response in the log, the message hangs in
the active queue.
Any idea what is wrong? I have tried a lot of things and nothing seems
to work. I have postfix 2.3.8.

I also have a bonus question when people send mail with old clients
(like old gnus or something) and send Swedish letters in the subject
they get replaced by X I haven't found any obvious configuration option
to get it not to do that. My guess is it has something to do with 8bit
character settings somewhere.

output from postconf -n:

alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 5
default_database_type = hash
html_directory = no
lmtp_generic_maps = ldap:ldapalias
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 102400000
mydestination = $myhostname, localhost.$mydomain, localhost,
list.sict.se, list.myaccess.se, list.tii.se, list.digiwall.se,
list.audiomostly.se, list.siti.se, list.w3c.se, list.itkommissionen.se,
list.mobile-life.org, list.sics.se
mydomain = sict.se
myhostname = letter.sics.se
mynetworks = 127.0.0.0/8, 193.10.64.0/22, 193.10.135.0/24, 192.71.100.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relay_domains = $mydestination
sample_directory = /etc/postfix
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/certs/wildcard.pem
smtpd_tls_key_file = /etc/certs/wildcard.pem
smtpd_tls_loglevel = 1
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport_maps,
regexp:/etc/postfix/transport_regexp
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps,
regexp:/etc/postfix/virtual-regexp,
ldap:/etc/postfix/virtual_mailbox_maps.cf,ldap:/etc/postfix/virtual_maillist_ali ases.cf
virtual_mailbox_domains = sict.se, myaccess.se, tii.se, digiwall.se,
audiomostly.se, siti.se, w3c.se, itkommissionen.se, mobile-life.org, sics.se
virtual_mailbox_maps = ldap:/etc/postfix/virtual_mailbox_maps.cf
virtual_transport = lmtp:unix:/var/imap/socket/lmtp


/Mikael


© 2004-2008 readlist.com