LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-02-2007, 02:46 AM   #1
thomasJohansen
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
Question status=bounced in Postfix/Cyrus on Ubuntu mailserver setup


Hi.

I'm pretty new to setting up Postfix/Cyrus, and are currently maintaining a new setup of a mailserver (not my conf.)

We are using Posfix 2.2.10-1 and Cyrus 2.2 and are having problems with mail (randomly) beeing bounced.

Can anyone help me with this?

A example from the mail.log:

Dec 29 11:21:03 mail3 postfix/smtpd[14196]: E0B671825F7A: client=localhost.localdomain[127.0.0.1]
Dec 29 11:21:03 mail3 postfix/cleanup[13691]: E0B671825F7A: message-id=<000501c72b32$f78d4be0$0f6409c0@<PROTECTED.COM>>
Dec 29 11:21:03 mail3 postfix/qmgr[23506]: E0B671825F7A: from=<MAIL PROTECTED>, size=3394, nrcpt=1 (queue active)
Dec 29 11:21:03 mail3 postfix/smtp[14285]: 73E2818260CF: to=<MAIL PROTECTED>, relay=127.0.0.1[127.0.0.1], delay=11, status=sent (250 2.6.0 Ok, id=13883-02, from MTA([127.0.0.1]:10025): 250 Ok: queued as E0B671825F7A)
Dec 29 11:21:03 mail3 postfix/lmtp[14207]: input attribute value: E0B671825F7A
Dec 29 11:21:03 mail3 postfix/lmtp[14207]: deliver_request_get: file active/E0B671825F7A
Dec 29 11:21:03 mail3 postfix/lmtp[14207]: send attr queue_id = E0B671825F7A
Dec 29 11:21:03 mail3 postfix/lmtp[14207]: E0B671825F7A: to=<MAIL PROTECTED>, relay=/var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp], delay=1, status=bounced (host /var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp] said: 250 2.1.5 ok (in reply to DATA command))
Dec 29 11:21:03 mail3 postfix/qmgr[23506]: E0B671825F7A: removed

Postconf -n

root@mail3:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
canonical_maps = proxy:mysql:/etc/postfix/mysql-canonical.cf
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
fallback_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
inet_interfaces = all
inet_protocols = all
lmtp_connect_timeout = 500s
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
message_size_limit = 102400000
mydestination = myhostname, localhost.localdomain, localhost, mysql:/etc/postfix/mysql-mydestination.cf
myhostname = smtp.hostname.no
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
proxy_read_maps = proxy:unixasswd.byname proxy:mysql:/etc/postfix/mysql-canonical.cf proxy:mysql:/etc/postfix/mysql-virtual-users.cf proxy:mysql:/etc/postfix/mysql-virtual-aliases.cf proxy:mysql:/etc/postfix/mysql-mydestination.cf
recipient_delimiter = +
relay_domains = $mydestination, /etc/postfix/relay-domains
relayhost =
sender_canonical_maps = proxy:mysql:/etc/postfix/mysql-canonical.cf
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_hard_error_limit = 5
smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_unlisted_sender,reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_helo_access pcre:/etc/postfix/helo, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_recipient, reject_unauth_pipelining, reject_rbl_client zombie.dnsbl.sorbs.net, reject_rbl_client relays.ordb.org, reject_rbl_client opm.blitzed.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual-aliases.cf

Last edited by thomasJohansen; 01-05-2007 at 01:11 AM.
 
Old 01-04-2007, 08:07 AM   #2
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
Can you for the meantime change the following settings in your /etc/postfix/main.cf to:

mailbox_transport =
mailbox_transport_maps =

fallback_transport =
fallback_transport_maps =

This is how mine is setup by default though I'm using 2.3.4 version currently while yours is still 2.2. Just my idea.

Then reload postfix.
 
Old 01-05-2007, 01:12 AM   #3
thomasJohansen
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Gani: Dont I need these settings to transport the mail to Cyrus?
 
Old 01-06-2007, 12:53 AM   #4
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
I'm not using Cyrus but Courier-IMAP/POP3 and I won't be able to help about this and instead I'm referring you to this guide.

http://www.delouw.ch/linux/Postfix-C...tml/index.html

---------
GANI
 
Old 01-06-2007, 01:00 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I don't know about Cyrus either, but I use Postfix/Dovecot, and Postfix actually handles the delivery to the mailboxs (in my case Maildir). Dovecot only comes into play once a mail client wants to get mail.

Can you show us the contents of /etc/postfix/transport ?
 
Old 01-06-2007, 01:14 AM   #6
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
YES! Dovecot is I'm sure the easiest Mailbox handler to setup than the Cyrus and Courier things. But SQL support is still the one preventing me to use this and specially that it is easier to have an SMTP_Auth by linking Cyrus-SASL to MySQL client library during compile and you can use the same user@domain.com and user-password already in your SQL database for telecommuting users' authentication. This is particulary helpfull for those hosting virtual domains.
 
Old 01-07-2007, 07:24 AM   #7
thomasJohansen
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Original Poster
Rep: Reputation: 0
billymayday: The only thing in /etc/postfix/transport is the domains we relay to 'own' mailservers (exchange and etc.) ex. domain1.com [smtp:some.Ip.address.com:25]
 
Old 01-07-2007, 11:07 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Questions. Why is your fallback transport the same as normal transport?

Can you post a snip of the log for a mail that doesn't get bounced?


Rgds
 
  


Reply



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
Problem w/ Cyrus Status=Bounced Signal 11 davidswanson1 Linux - Server 0 12-21-2006 06:24 PM
Postfix stores bounced messages? [GOD]Anck Linux - Software 1 04-29-2005 11:36 PM
POP3 to CYRUS catchall user? Not bounced mail. mechos Linux - Software 3 01-25-2005 04:58 AM
Moving a working Cyrus IMAP/Postfix setup rnturn Linux - Software 0 03-24-2004 09:48 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration