LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2008, 09:55 AM   #1
cuongvt
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
Wink postfix relay concern


From my dynamicIP (userA@xxx.dyndns.org) I already relayed ok through
my ISP (my email address provided from my ISP is ISPuser@ISP_smtp.com)
sending to outside my local LAN.
However, when I sent mail with "from" is userA@xxx.dyndns.org, to
outside mail address (ex: outsitesomewhere@mail.com),
userB who have mail address outsitesomewhere@mail.com noticed that
in the mail I sent him above, address in "from" is ISPuser@ISP_smtp.com, not
userA@xxx.dyndns.org. (I want it should show userA@xxx.dyndns.org though).
Could anyone help me how I can make it so that it will show userA@xxx.dyndns.org
in "from" address of userB?
Thanks
Below is my main config:
main.cf:
relayhost = [my isp smtp server]
smtp_generic_maps = hash:/etc/postfix/generic
transport_maps = hash:/etc/postfix/transport
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_mechanism_filter = plain, login
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = no
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination

master.cf:
smtp inet n - n - - smtpd
smtps inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject

generic file:
userA@xxx.dyndns.org ISPuser@ISP_smtp.com
transport file:
my isp smtp server smtp:[my isp smtp server]

file sasl_passwd:
[my isp smtp server] ISPuser@ISP_smtp.com's usernameassword
 
Old 02-26-2008, 02:28 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
If your ISP is changing the sender address on outgoing mail, there is nothing you can do in postfix configuration to stop that. You will have to discuss it with your ISP.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Postfix relay waelaltaqi Linux - Software 0 04-02-2007 04:47 PM
postfix and relay shafey Linux - Networking 3 03-02-2006 11:50 AM
[postfix] allow relay from 1 ip narmida Linux - Software 3 12-01-2005 01:20 PM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 08:15 PM
Postfix Relay eeades Linux - Software 0 02-01-2005 04:44 PM


All times are GMT -5. The time now is 08:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration