LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2004, 12:14 AM   #1
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
postfix problem


I have postfix up and running on Mandrake 10.0. Currently, when I send a message, the sent email's "from" field looks like this:

sender@domain.tld (Sender Name)

I would like to change that to

sender@domain.tld

(i.e. remove the sender's full name from the "from" field) Any ideas?
Here is my current main.cf:


readme_directory = /usr/share/doc/postfix-2.1.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
queue_directory = /var/spool/postfix
mail_owner = postfix
inet_interfaces = localhost
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
mydomain = expletive_deleted
html_directory = /usr/share/doc/postfix-2.1.1/html
myorigin = $mydomain

Thanks!
 
Old 08-30-2004, 12:52 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
In /etc/postfix/main.cf, check the section titled SENDING MAIL. It details how to make mail appear to come from a certain address.
 
Old 08-30-2004, 10:14 AM   #3
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Original Poster
Rep: Reputation: 15
Actually, I posted main.cf above and I don't see anything regarding the sender header format. I also looked at postconf(5), but its all Greek to me.
 
Old 08-31-2004, 08:57 AM   #4
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Original Poster
Rep: Reputation: 15
Also, I am not able to send mail to user@domain.tld but I am able to send mail to user@localhost. The logs show either connection refused or connection timed out every time. Nor can I telnet to domain.tld port 25. I am sure that domain.tld is being resolved correctly.

When I run netstat I see

Code:
tcp        0      0 localhost:smtp          *:*                     LISTEN
Does this mean that smtp is listening for connections only from/on localhost? If so, how can I change?


Thanks


p.s. I am able to send mail to another domain.

Last edited by meblost; 08-31-2004 at 09:00 AM.
 
Old 08-31-2004, 10:51 PM   #5
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Original Poster
Rep: Reputation: 15
Second problem solved. Made some changes to main.cf:

inet_interfaces = all
mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost

Am able to send in to and out of my machine now. Still haven't figured out how to remove sender's full name though...


Last edited by meblost; 08-31-2004 at 10:54 PM.
 
  


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
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
Postfix Problem wfernley Linux - Newbie 3 08-24-2005 10:22 AM
postfix problem ravi_foru Linux - Enterprise 0 07-10-2005 04:11 AM
postfix problem zzero Linux - Software 13 03-20-2004 12:39 AM
Postfix Problem JimKyle Linux - Networking 5 01-19-2002 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:29 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