[Gllug] RE: Postfix
Neil Fryer
neil.fryer at 12snap.com
Wed Oct 30 11:55:29 UTC 2002
Hi Again
Ok, found the problem, for some reason I had it in the sendmail.cf file,
dunno why just yet, but hey.
Thank god for grep!
Thanks to all of you who thought about it.
Kind Regards
Neil Fryer
> -----Original Message-----
> From: Neil Fryer
> Sent: 30 October 2002 11:49
> To: Glug (E-mail)
> Subject: Postfix
>
>
> Hi All
>
> I have setup a Postfix mail server and initially my domain was going to be
> onetwosnap.com, but it has now changed to 12snap-mcd.com, now I have
> changed this in postfix, but when I send a mail on the server to say root,
> it still says that it comes from xyberpix at onetwosnap.com, and now
> xyberpix at 12snap-mcd.com, where the hell would I change this?
> Below is my main.cf file:
>
>
> when a Postfix daemon program is run with the -D option.
> #
> # Use "command .. & sleep 5" so that the debugger can attach before
> # the process marches on. If you use an X-based debugger, be sure to
> # set up your XAUTHORITY environment variable before starting Postfix.
> #
> debugger_command =
> PATH=/usr/bin:/usr/X11R6/bin
> xxgdb $daemon_directory/$process_name $process_id & sleep 5
>
> # INSTALL-TIME CONFIGURATION INFORMATION
> #
> # The following parameters are used when installing a new Postfix version.
> #
> # sendmail_path: The full pathname of the Postfix sendmail command.
> # This is the Sendmail-compatible mail posting interface.
> #
> sendmail_path = /usr/sbin/sendmail.postfix
>
> # newaliases_path: The full pathname of the Postfix newaliases command.
> # This is the Sendmail-compatible command to build alias databases.
> #
> newaliases_path = /usr/bin/newaliases.postfix
>
> # mailq_path: The full pathname of the Postfix mailq command. This
> # is the Sendmail-compatible mail queue listing command.
> #
> mailq_path = /usr/bin/mailq.postfix
>
> # setgid_group: The group for mail submission and queue management
> # commands. This must be a group name with a numerical group ID that
> # is not shared with other accounts, not even with the Postfix account.
> #
> setgid_group = postdrop
>
> # manpage_directory: The location of the Postfix on-line manual pages.
> #
> manpage_directory = /usr/share/man
>
> # sample_directory: The location of the Postfix sample configuration
> files.
> #
> sample_directory = /usr/share/doc/postfix-1.1.7/samples
>
> # readme_directory: The location of the Postfix README files.
> #
> readme_directory = /etc/postfix/README_FILES
> alias_database = hash:/etc/postfix/aliases
> mydestination = 12snap-mcd.com
> [root at LHR-UK-P-MCDTXT-POP root]# mail root
> Subject: test
> .
> Cc:
> Null message body; hope that's ok
> [root at LHR-UK-P-MCDTXT-POP root]#
> [root at LHR-UK-P-MCDTXT-POP root]#
> [root at LHR-UK-P-MCDTXT-POP root]#
> [root at LHR-UK-P-MCDTXT-POP root]#
> [root at LHR-UK-P-MCDTXT-POP root]# mail
> Mail version 8.1 6/6/93. Type ? for help.
> "/var/spool/mail/root": 2 messages 1 new 2 unread
> U 1 root at mcdmail.onetwos Wed Oct 30 04:02 52/1475 "LogWatch for
> LHR-UK-P-MCDTXT-POP"
> >N 2 root at mcdmail.onetwos Wed Oct 30 13:44 11/398 "test"
> & d1
> & d2
> & q
> [root at LHR-UK-P-MCDTXT-POP root]# cd /etc/postfix/
> [root at LHR-UK-P-MCDTXT-POP postfix]# grep onetwosnap.com *
> [root at LHR-UK-P-MCDTXT-POP postfix]# vi ma
> main.cf main.cf.default master.cf
> [root at LHR-UK-P-MCDTXT-POP postfix]# vi main.cf
>
> # when a Postfix daemon program is run with the -D option.
> #
> # Use "command .. & sleep 5" so that the debugger can attach before
> # the process marches on. If you use an X-based debugger, be sure to
> # set up your XAUTHORITY environment variable before starting Postfix.
> #
> debugger_command =
> PATH=/usr/bin:/usr/X11R6/bin
> xxgdb $daemon_directory/$process_name $process_id & sleep 5
>
> # INSTALL-TIME CONFIGURATION INFORMATION
> #
> # The following parameters are used when installing a new Postfix version.
> #
> # sendmail_path: The full pathname of the Postfix sendmail command.
> # This is the Sendmail-compatible mail posting interface.
> #
> sendmail_path = /usr/sbin/sendmail.postfix
>
> # newaliases_path: The full pathname of the Postfix newaliases command.
> # This is the Sendmail-compatible command to build alias databases.
> #
> newaliases_path = /usr/bin/newaliases.postfix
>
> # mailq_path: The full pathname of the Postfix mailq command. This
> # is the Sendmail-compatible mail queue listing command.
> #
> mailq_path = /usr/bin/mailq.postfix
>
> # setgid_group: The group for mail submission and queue management
> # commands. This must be a group name with a numerical group ID that
> # is not shared with other accounts, not even with the Postfix account.
> #
> setgid_group = postdrop
>
> # manpage_directory: The location of the Postfix on-line manual pages.
> #
> manpage_directory = /usr/share/man
>
> # sample_directory: The location of the Postfix sample configuration
> files.
> #
> sample_directory = /usr/share/doc/postfix-1.1.7/samples
>
> # readme_directory: The location of the Postfix README files.
> #
> readme_directory = /etc/postfix/README_FILES
> alias_database = hash:/etc/postfix/aliases
> mydestination = 12snap-mcd.com
> "main.cf" 538L, 21430C
>
> Thanks
>
> Neil Fryer
> Systems Administrator
> 12Snap UK Ltd
> Tel: +44(0)20 7534 7322
> Fax: +44(0)20 7534 7301
> Mobile: +44(0)7855 400 309
> E-mail: neil.fryer at 12snap.com
> http://www.12snap.com
>
>
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list