Re: Bounces with Postfix configuration
Daniele Paolucci <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.user |
|---|---|
| Message-ID | <[email protected]> |
Ezio Paglia wrote: > Hi all, > > I apologize for the intrusion. I am trying to configure Postfix, > following the simple config file in ispman distribution. Yet I obtain > bounces for the only user configured. > > From the log I see that Postfix does not deliver, while Cyrus works. At > first I try to send mail, then I try to read POP and IMAP. > > My main.cf config is a variation of the ispman postfix example. > > Here is /var/log/mail.log > > Nov 25 13:48:57 ispman postfix/smtpd[18057]: connect from > people.gol.grosseto.it[172.16.0.104] > Nov 25 13:48:58 ispman postfix/smtpd[18057]: 9CE37273B0: > client=people.gol.grosseto.it[172.16.0.104] > Nov 25 13:48:58 ispman postfix/cleanup[18060]: 9CE37273B0: > message-id=<5.1.0.14.1.20041125134656.026465c0-O5WfVfzUwx8AKRH8ejpsyvny90gyZRDR@public.gmane.org> > Nov 25 13:48:58 ispman postfix/qmgr[18055]: 9CE37273B0: > from=<ezio-sOFouQoV90PFIYnzvfs/[email protected]>, size=684, nrcpt=1 (queue active) > Nov 25 13:48:58 ispman postfix/smtpd[18057]: D9D61273B2: > client=people.gol.grosseto.it > Nov 25 13:48:59 ispman postfix/qmgr[18055]: D9D61273B2: > from=<ezio-sOFouQoV90PFIYnzvfs/[email protected]>, size=684, nrcpt=1 (queue active) > Nov 25 13:48:59 ispman postfix/smtpd[18057]: disconnect from > people.gol.grosseto.it[172.16.0.104] > Nov 25 13:48:59 ispman postfix/cleanup[18064]: 2393A273B8: > message-id=<20041125124859.2393A273B8-YoKiqNTU2j8JH+Y1iwlNxI3UpmJPZ8et@public.gmane.org> > Nov 25 13:48:59 ispman postfix/local[18061]: D9D61273B2: > to=<ezio_saturno_gol_grosseto_it-YoKiqNTU2j8JH+Y1iwlNxI3UpmJPZ8et@public.gmane.org>, > orig_to=<ezi[172.16.0.104] > Nov 25 13:48:59 ispman postfix/cleanup[18060]: D9D61273B2: > message-id=<5.1.0.14.1.20041125134938.026188f0-O5WfVfzUwx8AKRH8ejpsyvny90gyZRDR@public.gmane.org> > Nov 25 13:48:59 ispman postfix/local[18061]: 9CE37273B0: > to=<ezio_saturno_gol_grosseto_it-YoKiqNTU2j8JH+Y1iwlNxI3UpmJPZ8et@public.gmane.org>, > orig_to=<ezio-m/[email protected]>, relay=local, delay=2, > status=bounced (unknown user: > "ezio_saturno_gol_grosseto_it")[email protected]>, relay=local, > delay=1, status=bounced (unknown user: "ezio_saturno_gol_grosseto_it") > Nov 25 13:48:59 ispman postfix/cleanup[18060]: 4FEC2273BD: > message-id=<20041125124859.4FEC2273BD-YoKiqNTU2j8JH+Y1iwlNxI3UpmJPZ8et@public.gmane.org> > ... snip ... > Nov 25 13:55:43 ispman cyrus/master[18075]: about to exec > /usr/lib/cyrus/bin/pop3d > Nov 25 13:55:43 ispman cyrus/pop3[18075]: executed > Nov 25 13:55:43 ispman cyrus/pop3d[18075]: accepted connection > Nov 25 13:55:45 ispman cyrus/pop3d[18075]: login: > people.gol.grosseto.it[172.16.0.104] ezio_saturno_gol_grosseto_it plaintext > Nov 25 13:56:22 ispman cyrus/master[18076]: about to exec > /usr/lib/cyrus/bin/imapd > Nov 25 13:56:22 ispman cyrus/imap[18076]: executed > Nov 25 13:56:22 ispman cyrus/imapd[18076]: accepted connection > Nov 25 13:56:22 ispman cyrus/imapd[18076]: login: > people.gol.grosseto.it[172.16.0.104] ezio_saturno_gol_grosseto_it plaintext > Nov 25 13:56:29 ispman cyrus/imapd[18076]: accepted connection > Nov 25 13:56:30 ispman cyrus/imapd[18076]: login: > people.gol.grosseto.it[172.16.0.104] ezio_saturno_gol_grosseto_it plaintext > Nov 25 13:56:30 ispman cyrus/imapd[18076]: seen_db: user > ezio_saturno_gol_grosseto_it opened > /var/lib/cyrus/user/e/ezio_saturno_gol_grosseto_it.seen > Nov 25 13:56:30 ispman cyrus/imapd[18076]: open: user > ezio_saturno_gol_grosseto_it opened INBOX > Nov 25 13:56:45 ispman cyrus/master[17412]: process 18075 exited, status 0 > Nov 25 13:58:00 ispman cyrus/master[17412]: process 18076 exited, status 0 > > The following is postfix config. > ---------------------- > mydomain = gol.grosseto.it > myorigin = $mydomain > mydestination = $myhostname, localhost.$mydomain, $mydomain > mynetworks = 10.0.0.0/8, 127.0.0.0/8, 81.208.8.0/8, 172.16.0.0/8 > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases > #mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp > virtual_alias_domains = saturno.gol.grosseto.it, urano.gol.grosseto.it, > nettuno.gol.grosseto.it > virtual_alias_maps = ldap:ldapvirtualmaps > relay_domains = $mydestination > ldapvirtualmaps_server_host = localhost > ldapvirtualmaps_server_port = 389 > ldapvirtualmaps_search_base = o=ispman > ldapvirtualmaps_query_filter = (|(mailLocalAddress=%s)(mailAlias=%s)) > ldapvirtualmaps_result_attribute = mailRoutingAddress,mailForwardingAddress > ---------------------- > > > If I try to uncomment lmtp config in main.cf I obtain > > Nov 25 15:53:03 ispman postfix/lmtp[18223]: 4AE44273C8: > to=<ezio_saturno_gol_grosseto_it-YoKiqNTU2j8JH+Y1iwlNxI3UpmJPZ8et@public.gmane.org>, > orig_to=<ezio-m/[email protected]>, relay=none, delay=0, > status=deferred (connect to > /var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp]: Permission denied) > > > Do you have any ideas or test to be run ? > > Ciao and thank you. > Yours Ezio. > -- > Ezio Paglia > Sistema Informativo e Architetture > SED Comune di Grosseto > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Ispman-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ispman-users If u run postfix and cyrus on the same machine, cyrus transport works well. try to take a look in your master.cf if everything is ok. ciao :) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/