Re: problem with postfix
rph <[email protected]> Sun, 03 Dec 2006 11:08:53 +0100
| Newsgroups | gmane.comp.isp.ispman.user |
|---|---|
| Message-ID | <[email protected]> |
Solved this morning, adding the following lines to main.cf.reasonable: default_transport = smtp mailbox_transport = lmtp:127.0.0.1:2003 fallback_transport = lmtp:unix:/var/run/cyrus/socket/lmtp inet_interfaces = all Thanks to the http://sourceforge.net/mailarchive/message.php?msg_id=10059986 Why don't explain this in a kind of doc? rph rph wrote: > Hi, > > I'm trying to set up ISPMan 1.3 + Postfix 2 + Cyrus 2.2 on a Debian server. > > > I get the following error in syslog when trying to send a mail to the > user [email protected] created with ISPMan: > > Dec 3 00:34:26 localhost postfix/local[8696]: 3A87E2FC52: > to=<[email protected]>, orig_to=<[email protected]>, > relay=local, delay=0.16, delays=0.12/0.01/0/0.03, dsn=5.1.1, > status=bounced (unknown user: "pippo_pippo_it") > > > My /etc/postfix/main.cf is the main.cf.reasonable from ISPMan examples > file, that is: > > # your primary domain > mydomain = pasticcini.it > myorigin = $mydomain > > # accept mail for this hosts/domains/networks (no virtual domains here!) > mydestination = $myhostname, localhost.$mydomain, $mydomain > mynetworks = $config_directory/mynetworks > > # lokal aliases for your primary domain > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases > > # optional canonical mapping (map replica domains to their master) > canonical_maps = hash:/etc/postfix/canonical > > # tell postfix about the virtual domains, which deliver mail here > virtual_alias_domains = hash:/etc/postfix/destination_domains > > # virtual_alias_maps are not generated by ispman, so we have to fetch > them via LDAP (see below) > virtual_alias_maps = ldap:ldapvirtualmaps > > # tell postfix about domains we relay to other MTAs > relay_domains = hash:/etc/postfix/relay_domains > > # ldap search for virtual_alias_maps > ldapvirtualmaps_server_host = localhost > ldapvirtualmaps_server_port = 389 > ldapvirtualmaps_version = 3 > ldapvirtualmaps_search_base = dc=pasticcini, dc=it > ldapvirtualmaps_query_filter = (|(mailLocalAddress=%s)(mailAlias=%s)) > ldapvirtualmaps_result_attribute = mailRoutingAddress,mailForwardingAddress > > # transport maps generated by ispman are pretty much obsolete, so we > don't use them > # (unless somebody has a proper reason for them) > #transport_maps = hash:/etc/postfix/transport > > > Regarding Cyrus, everything seems ok: > > root@marvin:/opt/ispman/bin# ./ispman.imapAuthTest marvin pippo_pippo_it > ***** > OK > > > Any suggestions? > > Thanks a lot, > > Raphael > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Ispman-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ispman-users > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV