Is there a sendmail tip for freebsd?:)

Hi,

I’m trying to configure sendmail to accept incoming
emails outside localhost.

While doing some readings with rt manuals, I came
accross this entry in /etc/aliases and also placed it
in my /etc/aliases

rt: “|/usr/local/rt3/bin/rt-mailgate
–queue ‘Queue1’ --action correspond
–url https://rt.your.domain/

Then what I did was to create a ‘Queue1’ queue in rt’s
web interface.

Then I tried sending a test email to rt@mydomain.net
using our mail server but nothing appeared in the
webinterface. It didn’t create any ticket that was
supposed to be seen at ‘10 highest priority tickets I
owned’.

So far, what I only did with sendmail were to add
our mail server’s fqdn to these two files below.

/etc/mail/local-host-names
/etc/mail/relay-domains

Is there something I still need to do here?

Thanks.

Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

Hi,

I’m trying to configure sendmail to accept incoming
emails outside localhost.

While doing some readings with rt manuals, I came
accross this entry in /etc/aliases and also placed it
in my /etc/aliases

rt: “|/usr/local/rt3/bin/rt-mailgate
–queue ‘Queue1’ --action correspond
–url https://rt.your.domain/

Is “rt.your.domain” really what you have in there, it should be the URL
you use to connect to RT. (just checking)

where mail-file.txt is a mail message to test with:

cat mail-file.txt | /usr/local/rt3/bin/rt-mailgate --queue ‘Queue1’
–action correspond --url https://theRTURL/

That’ll give you a much better sense of where the error lies.

Graham

Probably a stupid question, but since I get bitten by this myself once
in a while: did you remember to run ‘newaliases’ (or ‘make aliases’, if
you prefer) after updating the file? Did your sendmail or RT logs say
anything interesting about the message you sent?

Mark Roedel
Web Programmer / Analyst
LeTourneau University-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of jay
alvarez
Sent: Monday, March 28, 2005 12:08 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Is there a sendmail tip for freebsd?:slight_smile:

Hi,

I’m trying to configure sendmail to accept incoming
emails outside localhost.

While doing some readings with rt manuals, I came
accross this entry in /etc/aliases and also placed it
in my /etc/aliases

rt: “|/usr/local/rt3/bin/rt-mailgate
–queue ‘Queue1’ --action correspond
–url https://rt.your.domain/

Then what I did was to create a ‘Queue1’ queue in rt’s
web interface.

Then I tried sending a test email to rt@mydomain.net
using our mail server but nothing appeared in the
webinterface. It didn’t create any ticket that was
supposed to be seen at ‘10 highest priority tickets I
owned’.

So far, what I only did with sendmail were to add
our mail server’s fqdn to these two files below.

/etc/mail/local-host-names
/etc/mail/relay-domains

Is there something I still need to do here?