Postfix: Masquerading_Domains does not work


 
Thread Tools Search this Thread
Special Forums IP Networking Postfix: Masquerading_Domains does not work
# 1  
Old 07-29-2009
Postfix: Masquerading_Domains does not work

Dear all!

We are using a SLES 10 SP2 system where we installed a
Mail Server according to this tutorial:

Cool Solutions: Configuring a Mail Server on SLES

Everything is running fine except for the Masquerading
feature. For instance the e-mail sender should have this
"user@example.com" form but it appears as "user@mail-s.
example.com".
Here is now the relevant /etc/postfix/main.cf entry:
...............
...............
masquerade_domains=ldap:/etc/postfix/ldapmasquerade_
domains.cf
.................

ldapmasquerade_domains.cf has this content:
# This file was created by yast2-mail-server. Please do
not edit it!
server_host=localhost
query_filter=(&(objectclass=suseMailDomain)(zoneName=%s)
(suseMailDomainMasquerading=yes))
search_base=ou=DNS,dc=example,dc=com
timeout=20
result_attribute=zoneName
bind=no
server_port=389
scope=sub
#

By using "masquerade_domains=example.com" in the main.cf
file, the sender is now as we want to see it ie.
"user@example.com".

Any idea what's wrong with the ldapmasquerade_domains.cf
configuration?

THX, Rainer
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies

2. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

I have a mailserver with postfix i want to alias all mail for administrator@domain.fqdn to root@domain.fqdn I have the aliases configured,and i did newliases but doesn't work. How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

3. Shell Programming and Scripting

My script work on Linux but not work in sunos.

My script work on Linux but not work in sun os. my script. logFiles="sentLog1.log sentLog2.log" intial_time="0 0" logLocation="/usr/local/tomcat/logs/" sleepTime=600 failMessage=":: $(tput bold)Log not update$(tput rmso) = " successMessage="OK" arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies

4. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

5. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

6. UNIX for Dummies Questions & Answers

postfix

I have a strange problem I have a solaris 8 machine which sends me an email to my outlook every night about the status of the system. The end of this script looks like this mailx -s "$TITLE" mrxyz@mycompany.com < $TMPF and it is working fine My problem is when i just use mailx... (1 Reply)
Discussion started by: Tirmazi
1 Replies

7. Linux

postfix

hi when I telnet to my machine on port 25 and send an email to myself, the machine sends the email to the old corporate mail server instead of the new corporate mail server. how to change that so that any email sent from my linux box goes directly to the new mail server? thx (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

8. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

9. UNIX for Advanced & Expert Users

Postfix 2.3.

When I use the postalias command I am getting an error that says no mapping in /etc/mail/mailer.conf. I am running FreeBsd 6.1 and in my main.cf I have my alias database is alias_maps= hash:/etc/mail/aliases I tried the command two different ways /usr/local/sbin/postalias /etc/mail/aliases... (2 Replies)
Discussion started by: rbizzell
2 Replies

10. UNIX for Advanced & Expert Users

Postfix

I can send email. I just can't receive email I am getting and error Permanent Failure: 554_Transaction_failed. All the services are running. I can telnet to 110 25 143. I am also running Imap. I can send and receive email internally I can send email outside of my network I can't receive emails... (3 Replies)
Discussion started by: rbizzell
3 Replies
Login or Register to Ask a Question
Mail::Server::IMAP4(3pm)				User Contributed Perl Documentation				  Mail::Server::IMAP4(3pm)

NAME
Mail::Server::IMAP4 - IMAP4 server implementation (not completed) INHERITANCE
Mail::Server::IMAP4 is a Mail::Server is a Mail::Reporter SYNOPSIS
!!!Partially implemented!!!! my $server = Mail::Server::IMAP4->new($msg); DESCRIPTION
This module is a place-holder, which can be used to grow code which is needed to implement a full IMAP4 server. Although the server is not implemented, parts of this server are already available. o Mail::Server::IMAP4::Fetch used to capture "FETCH" related information from a message, and produce server-side FETCH answers. o Mail::Server::IMAP4::List produce LIST reponses about existing folders. This works in combination with a Mail::Box::Manage::User object. o Mail::Server::IMAP4::Search the SEARCH request. Not implemented yet... looking for a volunteer. METHODS
Constructors Mail::Server::IMAP4->new(OPTIONS) See "Constructors" in Mail::Reporter Error handling $obj->AUTOLOAD() See "Error handling" in Mail::Reporter $obj->addReport(OBJECT) See "Error handling" in Mail::Reporter $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK]) Mail::Server::IMAP4->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK]) See "Error handling" in Mail::Reporter $obj->errors() See "Error handling" in Mail::Reporter $obj->log([LEVEL [,STRINGS]]) Mail::Server::IMAP4->log([LEVEL [,STRINGS]]) See "Error handling" in Mail::Reporter $obj->logPriority(LEVEL) Mail::Server::IMAP4->logPriority(LEVEL) See "Error handling" in Mail::Reporter $obj->logSettings() See "Error handling" in Mail::Reporter $obj->notImplemented() See "Error handling" in Mail::Reporter $obj->report([LEVEL]) See "Error handling" in Mail::Reporter $obj->reportAll([LEVEL]) See "Error handling" in Mail::Reporter $obj->trace([LEVEL]) See "Error handling" in Mail::Reporter $obj->warnings() See "Error handling" in Mail::Reporter Cleanup $obj->DESTROY() See "Cleanup" in Mail::Reporter $obj->inGlobalDestruction() See "Cleanup" in Mail::Reporter DETAILS
See RFC2060: "Internet Message Access Protocol IMAP4v1" DIAGNOSTICS
Error: Package $package does not implement $method. Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package. SEE ALSO
This module is part of Mail-Box distribution version 2.105, built on May 07, 2012. Website: http://perl.overmeer.net/mailbox/ LICENSE
Copyrights 2001-2012 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.14.2 2012-05-07 Mail::Server::IMAP4(3pm)

Featured Tech Videos